We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2a39d commit 8bb0d24Copy full SHA for 8bb0d24
app/src/main/java/to/bitkit/ui/screens/wallets/receive/ReceiveSheet.kt
@@ -79,8 +79,13 @@ fun ReceiveSheet(
79
walletState = walletState,
80
lightningState = lightningState,
81
onClickReceiveCjit = {
82
- showCreateCjit.value = true
83
- navController.navigate(ReceiveRoute.Amount)
+ if (lightningState.isGeoBlocked) {
+ // todo display toast instead
84
+ navController.navigate(ReceiveRoute.GeoBlock)
85
+ } else {
86
+ showCreateCjit.value = true
87
+ navController.navigate(ReceiveRoute.Amount)
88
+ }
89
},
90
onClickEditInvoice = { navController.navigate(ReceiveRoute.EditInvoice) },
91
)
0 commit comments