@@ -144,19 +144,19 @@ fun ContentView(
144144 LaunchedEffect (appViewModel, navigator) {
145145 appViewModel.sendEffect.collect { effect ->
146146 when (effect) {
147- is SendEffect .NavigateToAddress -> navigator.navigate(Routes .SendAddress )
148- is SendEffect .NavigateToAmount -> navigator.navigate(Routes .SendAmount ())
149- is SendEffect .NavigateToScan -> navigator.navigate(Routes .SendQrScanner )
150- is SendEffect .NavigateToCoinSelection -> navigator.navigate(Routes .SendCoinSelection )
151- is SendEffect .NavigateToConfirm -> navigator.navigate(Routes .SendConfirm )
152- is SendEffect .NavigateToQuickPay -> navigator.navigate(Routes .SendQuickPay )
153- is SendEffect .NavigateToWithdrawConfirm -> navigator.navigate(Routes .SendWithdrawConfirm )
154- is SendEffect .NavigateToWithdrawError -> navigator.navigate(Routes .SendWithdrawError )
155- is SendEffect .NavigateToFee -> navigator.navigate(Routes .SendFeeRate )
156- is SendEffect .NavigateToFeeCustom -> navigator.navigate(Routes .SendFeeCustom )
147+ is SendEffect .NavigateToAddress -> navigator.navigate(Routes .Send . Address )
148+ is SendEffect .NavigateToAmount -> navigator.navigate(Routes .Send . Amount ())
149+ is SendEffect .NavigateToScan -> navigator.navigate(Routes .Send . QrScanner )
150+ is SendEffect .NavigateToCoinSelection -> navigator.navigate(Routes .Send . CoinSelection )
151+ is SendEffect .NavigateToConfirm -> navigator.navigate(Routes .Send . Confirm )
152+ is SendEffect .NavigateToQuickPay -> navigator.navigate(Routes .Send . QuickPay )
153+ is SendEffect .NavigateToWithdrawConfirm -> navigator.navigate(Routes .Send . WithdrawConfirm )
154+ is SendEffect .NavigateToWithdrawError -> navigator.navigate(Routes .Send . WithdrawError )
155+ is SendEffect .NavigateToFee -> navigator.navigate(Routes .Send . FeeRate )
156+ is SendEffect .NavigateToFeeCustom -> navigator.navigate(Routes .Send . FeeCustom )
157157 is SendEffect .PaymentSuccess -> {
158158 appViewModel.clearClipboardForAutoRead()
159- navigator.navigate(Routes .SendSuccess )
159+ navigator.navigate(Routes .Send . Success )
160160 }
161161
162162 is SendEffect .PopBack -> navigator.popBackTo(effect.route)
@@ -310,8 +310,8 @@ fun ContentView(
310310 modifier = Modifier .align(Alignment .BottomCenter ),
311311 ) {
312312 TabBar (
313- onSendClick = { navigator.navigate(Routes .SendRecipient ) },
314- onReceiveClick = { navigator.navigate(Routes .ReceiveQr ) },
313+ onSendClick = { navigator.navigate(Routes .Send . Recipient ) },
314+ onReceiveClick = { navigator.navigate(Routes .Receive . Qr ) },
315315 onScanClick = { navigator.navigate(Routes .QrScanner ) },
316316 )
317317 }
0 commit comments