monke if this does not work then buy an android tv

This commit is contained in:
LagradOst 2021-10-30 21:04:35 +02:00
parent 40fd2fd49c
commit e8f73db013

View file

@ -300,8 +300,10 @@ class SearchFragment : Fragment() {
main_search.setOnQueryTextListener(object : SearchView.OnQueryTextListener { main_search.setOnQueryTextListener(object : SearchView.OnQueryTextListener {
override fun onQueryTextSubmit(query: String): Boolean { override fun onQueryTextSubmit(query: String): Boolean {
searchViewModel.searchAndCancel(query) searchViewModel.searchAndCancel(query)
main_search?.clearFocus() main_search?.let {
search_filter?.requestFocus() hideKeyboard(it)
}
return true return true
} }