diff options
author | TheScarastic <warabhishek@e.email> | 2022-05-25 11:34:20 +0530 |
---|---|---|
committer | TheScarastic <warabhishek@e.email> | 2022-05-25 11:41:09 +0530 |
commit | 8acbc639f0072786828b9ab97d6d8716b18c5c51 (patch) | |
tree | 7a58459cbfef471ee8659c0c645692a5da69755e | |
parent | 65fb53658a4780f9d7b50b29b780cdd0ebef8f41 (diff) |
privacycentralapp: dont allow back stack when opening directly from main activity
-rw-r--r-- | app/src/main/java/foundation/e/privacycentralapp/main/MainActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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<TrackersFragment>(R.id.container) - addToBackStack("dashboard") } else -> add<DashboardFragment>(R.id.container) } + disallowAddToBackStack() } } |