We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d145b33 commit 408ec89Copy full SHA for 408ec89
1 file changed
app/src/main/java/to/bitkit/ui/sheets/PinSheet.kt
@@ -49,7 +49,7 @@ fun PinSheet(
49
onPinChosen = { pin ->
50
navController.navigateTo(PinRoute.Confirm(pin))
51
},
52
- onBack = { navController.popBackStack() },
+ onBack = { if (!navController.popBackStack()) onDismiss() },
53
)
54
}
55
composableWithDefaultTransitions<PinRoute.Confirm> {
0 commit comments