forked from recloudstream/cloudstream
monke if this does not work then buy an android tv
This commit is contained in:
parent
40fd2fd49c
commit
e8f73db013
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue