Fix source SearchView stuck open until query submitted (#4897)

closes #4850
This commit is contained in:
Ivan Iskandar 2021-04-18 22:32:22 +07:00 committed by GitHub
parent 356b7c346a
commit 60a929b92c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,6 +269,7 @@ open class BrowseSourceController(bundle: Bundle) :
if (router.backstackSize >= 2 && router.backstack[router.backstackSize - 2].controller() is GlobalSearchController) { if (router.backstackSize >= 2 && router.backstack[router.backstackSize - 2].controller() is GlobalSearchController) {
router.popController(this) router.popController(this)
} else { } else {
nonSubmittedQuery = ""
searchWithQuery("") searchWithQuery("")
} }