mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 01:19:18 +01:00
Fix Global Search ignoring incognito mode when setting last used source. (#6374)
This commit is contained in:
parent
7eed8c440c
commit
d022bf2673
@ -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())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user