summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorTheScarastic <warabhishek@e.email>2022-05-25 11:34:20 +0530
committerTheScarastic <warabhishek@e.email>2022-05-25 11:41:09 +0530
commit8acbc639f0072786828b9ab97d6d8716b18c5c51 (patch)
tree7a58459cbfef471ee8659c0c645692a5da69755e /app/src/main
parent65fb53658a4780f9d7b50b29b780cdd0ebef8f41 (diff)
privacycentralapp: dont allow back stack when opening directly from main activity
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/foundation/e/privacycentralapp/main/MainActivity.kt2
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()
}
}