summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAayush Gupta <theimpulson@e.email>2022-05-25 06:28:09 +0000
committerAayush Gupta <theimpulson@e.email>2022-05-25 06:28:09 +0000
commit8d39e10ba2613ac2583ec3c1a1f687c240e25550 (patch)
tree7a58459cbfef471ee8659c0c645692a5da69755e /app/src
parent65fb53658a4780f9d7b50b29b780cdd0ebef8f41 (diff)
parent8acbc639f0072786828b9ab97d6d8716b18c5c51 (diff)
Merge branch '5501-main-back_press_white_screen' into 'main'
privacycentralapp: dont allow back stack when opening directly from main activity See merge request e/privacy-central/privacycentralapp!63
Diffstat (limited to 'app/src')
-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()
}
}