diff --git a/app/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateZapAmountDialog.kt b/app/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateZapAmountDialog.kt index ce1b1f8d4..3f9b2b5fb 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateZapAmountDialog.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateZapAmountDialog.kt @@ -41,6 +41,7 @@ import androidx.compose.ui.text.input.KeyboardType import androidx.compose.ui.text.input.TextFieldValue import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.dp +import androidx.compose.ui.unit.sp import androidx.compose.ui.window.Dialog import androidx.compose.ui.window.DialogProperties import androidx.lifecycle.ViewModel @@ -228,9 +229,7 @@ fun UpdateZapAmountDialog(onClose: () -> Unit, account: Account) { var qrScanning by remember { mutableStateOf(false) } Row( - modifier = Modifier - .fillMaxWidth() - .padding(vertical = 5.dp), + modifier = Modifier.fillMaxWidth(), verticalAlignment = Alignment.CenterVertically ) { Text(stringResource(id = R.string.wallet_connect_service), Modifier.weight(1f)) @@ -246,6 +245,20 @@ fun UpdateZapAmountDialog(onClose: () -> Unit, account: Account) { } } + Row( + modifier = Modifier + .fillMaxWidth() + .padding(bottom = 5.dp), + verticalAlignment = Alignment.CenterVertically + ) { + Text( + stringResource(id = R.string.wallet_connect_service_explainer), + Modifier.weight(1f), + color = MaterialTheme.colors.onSurface.copy(alpha = 0.32f), + fontSize = 14.sp + ) + } + if (qrScanning) { SimpleQrCodeScanner { qrScanning = false diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5b1fbb02c..7b11f58cd 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -257,6 +257,7 @@ Remove from Public Bookmarks Wallet Connect Service + Uses your private key to pay zaps without leaving the app. Anyone with access to your Nostr private key will be able to spend your wallet\'s balance. Only keep funds you are ok to lose and use a private relay if possible. The relay operator can see your payments metadata. Wallet Connect Pubkey Wallet Connect Relay