File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
app/src/main/java/to/bitkit/ui Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -616,7 +616,6 @@ private fun RootNavHost(
616616 composableWithDefaultTransitions<Routes .SettingUp > {
617617 SettingUpScreen (
618618 viewModel = transferViewModel,
619- onCloseClick = { navController.popBackStack<Routes .TransferRoot >(inclusive = true ) },
620619 onContinueClick = { navController.popBackStack<Routes .TransferRoot >(inclusive = true ) },
621620 )
622621 }
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ import to.bitkit.viewmodels.TransferViewModel
4646fun SettingUpScreen (
4747 viewModel : TransferViewModel ,
4848 onContinueClick : () -> Unit = {},
49- onCloseClick : () -> Unit = {},
5049) {
5150 val app = appViewModel ? : return
5251 val lightningSetupStep by viewModel.lightningSetupStep.collectAsState()
@@ -82,15 +81,13 @@ fun SettingUpScreen(
8281 viewModel.resetSpendingState()
8382 onContinueClick()
8483 },
85- onCloseClick = onCloseClick,
8684 )
8785}
8886
8987@Composable
9088private fun SettingUpScreen (
9189 lightningSetupStep : Int ,
9290 onContinueClick : () -> Unit = {},
93- onCloseClick : () -> Unit = {},
9491) {
9592 val inProgress = lightningSetupStep < 3
9693 ScreenColumn (
@@ -102,7 +99,7 @@ private fun SettingUpScreen(
10299 else -> stringResource(R .string.lightning__transfer_success__nav_title)
103100 },
104101 onBackClick = null ,
105- actions = { if (inProgress) DrawerNavIcon () },
102+ actions = { DrawerNavIcon () },
106103 )
107104 Column (
108105 horizontalAlignment = Alignment .CenterHorizontally ,
You can’t perform that action at this time.
0 commit comments