From 8acbc639f0072786828b9ab97d6d8716b18c5c51 Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Wed, 25 May 2022 11:34:20 +0530 Subject: privacycentralapp: dont allow back stack when opening directly from main activity --- app/src/main/java/foundation/e/privacycentralapp/main/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/java/foundation/e') diff --git a/app/src/main/java/foundation/e/privacycentralapp/main/MainActivity.kt b/app/src/main/java/foundation/e/privacycentralapp/main/MainActivity.kt index 92a156a..e1ccae8 100644 --- a/app/src/main/java/foundation/e/privacycentralapp/main/MainActivity.kt +++ b/app/src/main/java/foundation/e/privacycentralapp/main/MainActivity.kt @@ -57,10 +57,10 @@ open class MainActivity : FragmentActivity(R.layout.activity_main) { ) ACTION_VIEW_TRACKERS -> { add(R.id.container) - addToBackStack("dashboard") } else -> add(R.id.container) } + disallowAddToBackStack() } } -- cgit v1.2.1