From f407e30b6e6b5c337f4c7ac5abb7ae0cce093688 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 25 Apr 2021 10:57:14 -0400 Subject: [PATCH] Reset Incognito Mode on app relaunch (closes #4928) --- app/src/main/java/eu/kanade/tachiyomi/App.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/App.kt b/app/src/main/java/eu/kanade/tachiyomi/App.kt index e7cacadb3..6f236a0d7 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/App.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/App.kt @@ -52,6 +52,9 @@ open class App : Application(), LifecycleObserver { LocaleHelper.updateConfiguration(this, resources.configuration) ProcessLifecycleOwner.get().lifecycle.addObserver(this) + + // Reset Incognito Mode on relaunch + preferences.incognitoMode().set(false) } override fun attachBaseContext(base: Context) {