Skip to content

Commit 92f4e78

Browse files
committed
fix: remove backstack when navigating to critical update
1 parent e561a48 commit 92f4e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ class AppViewModel @Inject constructor(
14771477
MainScreenEffect.Navigate(
14781478
route = Routes.CriticalUpdate,
14791479
navOptions = navOptions {
1480-
popUpTo(Routes.CriticalUpdate) { inclusive = true }
1480+
popUpTo(0) { inclusive = true }
14811481
}
14821482
)
14831483
)

0 commit comments

Comments
 (0)