diff --git a/app/src/main/java/eu/kanade/tachiyomi/App.kt b/app/src/main/java/eu/kanade/tachiyomi/App.kt index 7292b81b8f..370e5199b9 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/App.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/App.kt @@ -74,9 +74,6 @@ open class App : Application(), LifecycleObserver, ImageLoaderFactory { ProcessLifecycleOwner.get().lifecycle.addObserver(this) - // Reset Incognito Mode on relaunch - preferences.incognitoMode().set(false) - // Show notification to disable Incognito Mode when it's enabled preferences.incognitoMode().asFlow() .onEach { enabled -> diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt index 501bb01131..7529b561e4 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt @@ -224,6 +224,9 @@ class MainActivity : BaseViewBindingActivity() { syncActivityViewWithController(router.backstack.lastOrNull()?.controller()) if (savedInstanceState == null) { + // Reset Incognito Mode on relaunch + preferences.incognitoMode().set(false) + // Show changelog prompt on update if (Migrations.upgrade(preferences) && !BuildConfig.DEBUG) { WhatsNewDialogController().showDialog(router)