mirror of
https://github.com/mihonapp/mihon.git
synced 2025-03-14 10:18:30 +03:00
Fix #908
This commit is contained in:
parent
03f3a4805f
commit
0b85760939
1 changed files with 5 additions and 0 deletions
|
@ -331,6 +331,11 @@ open class CatalogueController(bundle: Bundle? = null) :
|
|||
if (query == newQuery)
|
||||
return
|
||||
|
||||
// FIXME dirty fix to restore the toolbar buttons after closing search mode.
|
||||
if (newQuery == "") {
|
||||
activity?.invalidateOptionsMenu()
|
||||
}
|
||||
|
||||
showProgressBar()
|
||||
adapter?.clear()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue