mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Clear search query before popping controller when navigating up (#8055)
This commit is contained in:
		| @@ -52,7 +52,13 @@ open class BrowseSourceController(bundle: Bundle) : | ||||
|  | ||||
|         BrowseSourceScreen( | ||||
|             presenter = presenter, | ||||
|             navigateUp = { router.popCurrentController() }, | ||||
|             navigateUp = { | ||||
|                 if (presenter.isUserQuery) { | ||||
|                     presenter.search() | ||||
|                 } else { | ||||
|                     router.popCurrentController() | ||||
|                 } | ||||
|             }, | ||||
|             onFabClick = { filterSheet?.show() }, | ||||
|             onMangaClick = { router.pushController(MangaController(it.id, true)) }, | ||||
|             onMangaLongClick = { manga -> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user