From 60a929b92ce72a02ff8db4615e13b051a9cb6a28 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> Date: Sun, 18 Apr 2021 22:32:22 +0700 Subject: [PATCH] Fix source SearchView stuck open until query submitted (#4897) closes #4850 --- .../tachiyomi/ui/browse/source/browse/BrowseSourceController.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt index 890feba746..764c59d705 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt @@ -269,6 +269,7 @@ open class BrowseSourceController(bundle: Bundle) : if (router.backstackSize >= 2 && router.backstack[router.backstackSize - 2].controller() is GlobalSearchController) { router.popController(this) } else { + nonSubmittedQuery = "" searchWithQuery("") }