fix spinning forever

This commit is contained in:
Ryan Zhao 2021-06-29 16:20:55 +10:00
parent aac58ac5cf
commit 2159d6836b

View File

@ -99,9 +99,6 @@ object ConversationMenuHelper {
val searchViewModel = (context as ConversationActivityV2).getSearchViewModel()!!
val queryListener = object : OnQueryTextListener {
override fun onQueryTextSubmit(query: String): Boolean {
searchViewModel.onQueryUpdated(query, threadId)
context.searchBottomBar.showLoading()
context.onSearchQueryUpdated(query)
return true
}