mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	Fix Global Search ignoring incognito mode when setting last used source. (#6374)
This commit is contained in:
		| @@ -209,7 +209,9 @@ open class GlobalSearchController( | ||||
|      * Opens a catalogue with the given search. | ||||
|      */ | ||||
|     override fun onTitleClick(source: CatalogueSource) { | ||||
|         presenter.preferences.lastUsedSource().set(source.id) | ||||
|         if (!preferences.incognitoMode().get()) { | ||||
|             preferences.lastUsedSource().set(source.id) | ||||
|         } | ||||
|         router.pushController(BrowseSourceController(source, presenter.query).withFadeTransaction()) | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user