Skip to content

Commit a138422

Browse files
committed
fix: use navigateToHome() in ExternalSuccessScreen
Match iOS behavior by navigating directly to home after external channel connection success, instead of popping back to TransferRoot.
1 parent ed9a2e0 commit a138422

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/to/bitkit/ui/ContentView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ private fun RootNavHost(
749749
}
750750
composableWithDefaultTransitions<Routes.ExternalSuccess> {
751751
ExternalSuccessScreen(
752-
onContinue = { navController.popBackStack<Routes.TransferRoot>(inclusive = true) },
752+
onContinue = { navController.navigateToHome() },
753753
)
754754
}
755755
composableWithDefaultTransitions<Routes.ExternalFeeCustom> {

0 commit comments

Comments
 (0)