瀏覽代碼

Fix incognito mode disabled after URL intent launched (#5533)

Ivan Iskandar 3 年之前
父節點
當前提交
2423a70abd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/main/java/eu/kanade/tachiyomi/ui/main/DeepLinkActivity.kt

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/main/DeepLinkActivity.kt

@@ -10,7 +10,7 @@ class DeepLinkActivity : Activity() {
         super.onCreate(savedInstanceState)
 
         intent.apply {
-            flags = flags or Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK
+            flags = flags or Intent.FLAG_ACTIVITY_CLEAR_TOP or Intent.FLAG_ACTIVITY_NEW_TASK
             setClass(applicationContext, MainActivity::class.java)
         }
         startActivity(intent)