mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix back button when starting a global search from search activity (no ext filter)
This commit is contained in:
parent
525cbfffb0
commit
ea73db2be9
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ open class GlobalSearchController(
|
|||
}
|
||||
|
||||
override fun onActionViewCollapse(item: MenuItem?) {
|
||||
if (activity is SearchActivity && extensionFilter != null) {
|
||||
if (activity is SearchActivity) {
|
||||
(activity as? SearchActivity)?.backPress()
|
||||
} else if (customTitle == null) {
|
||||
router.popCurrentController()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue