mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
clear focus on searchview for global search
so users dont have to press back twice
This commit is contained in:
parent
09e34d1a73
commit
325c628172
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ open class GlobalSearchController(
|
|||
val searchItem = activityBinding?.cardToolbar?.searchItem ?: return
|
||||
searchItem.expandActionView()
|
||||
searchView.setQuery(presenter.query, false)
|
||||
searchView.clearFocus()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue