You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 01a55ca
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: sentry-samples/sentry-samples-android/src/main/java/io/sentry/samples/android/navigation/nav2/Nav2ComposeRoutes.kt
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -133,10 +133,11 @@ internal fun Nav2ComposeApp(
133
133
shareSheetProductId.value =null
134
134
}
135
135
136
-
funresetToHome() {
137
-
backStack.resetTo(Home)
136
+
funresetToRoot() {
137
+
val root =if (selectedScenario ==Nav2Scenario.CUSTOM) CustomelseHome
Copy file name to clipboardExpand all lines: sentry-samples/sentry-samples-android/src/main/java/io/sentry/samples/android/navigation/nav2/Nav2CustomTransactions.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -113,9 +113,9 @@ internal class Nav2CustomTransactionController {
113
113
114
114
privatefunhandleWholeFlow(currentRoute:String) {
115
115
if (currentRoute ==RouteNames.CUSTOM) {
116
-
if (activeMode ==Nav2CustomTransactionMode.WHOLE_FLOW) {
0 commit comments