diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueController.kt index edd51f174..a98ee3e2e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueController.kt @@ -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()