Final tweaks of POSScreen

This commit is contained in:
minibits-cash
2026-01-29 08:43:46 +01:00
parent f8019b3177
commit a6b9bd55d8
6 changed files with 8 additions and 2 deletions
+1
View File
@@ -313,6 +313,7 @@
"pos_exchangeRateUnavailable": "Exchange rate unavailable",
"pos_newTransaction": "New transaction",
"pos_scanOrTapToPay": "Scan or tap to pay",
"pos_scanToPay": "Scan to pay",
"pos_waitingForPayment": "Waiting for payment...",
"payerMemo": "Memo for the payer",
"payWithLightningDesc": "Enter or paste Lightning address, invoice or LNURL pay code you want to pay to.",
+1
View File
@@ -312,6 +312,7 @@
"pos_exchangeRateUnavailable": "Tipo de cambio no disponible",
"pos_newTransaction": "Nueva transacción",
"pos_scanOrTapToPay": "Escanea o toca para pagar",
"pos_scanToPay": "Escanea para pagar",
"pos_waitingForPayment": "Esperando el pago...",
"payerMemo": "Memo para el pagador",
"payWithLightningDesc": "Ingrese o pegue la dirección Lightning, la factura o el código de pago LNURL al que desea pagar.",
+1
View File
@@ -313,6 +313,7 @@
"pos_exchangeRateUnavailable": "Taxa de câmbio indisponível",
"pos_newTransaction": "Nova transação",
"pos_scanOrTapToPay": "Escaneie ou toque para pagar",
"pos_scanToPay": "Escaneie para pagar",
"pos_waitingForPayment": "Aguardando pagamento...",
"payerMemo": "Memorando para o pagador",
"payWithLightningDesc": "Insira ou cole endereço Lightning, invoice ou código de pagamento LNURL para pagar.",
+1
View File
@@ -313,6 +313,7 @@
"pos_exchangeRateUnavailable": "Výmenný kurz nie je k dispozícii",
"pos_newTransaction": "Nová transakcia",
"pos_scanOrTapToPay": "Naskenuj alebo tapni",
"pos_scanToPay": "Naskenuj a zaplať",
"pos_waitingForPayment": "Čakám na platbu...",
"payerMemo": "Poznámka pre príjemcu",
"payWithLightningDesc": "Zadaj Lightning adresu, invoice alebo LNURL kód ktorý chceš zaplatiť.",
+3 -1
View File
@@ -5,6 +5,7 @@ import {
ViewStyle,
TextStyle,
BackHandler,
Platform,
} from 'react-native'
import Animated, {
useSharedValue,
@@ -386,9 +387,10 @@ export const POSScreen = observer(function POSScreen({ route }: Props) {
<View style={$qrContainer}>
<QRCodeBlock
qrCodeData={invoiceToPay}
titleTx="pos_scanOrTapToPay"
titleTx={Platform.OS === 'android' ? "pos_scanOrTapToPay" : "pos_scanToPay"}
type="Bolt11Invoice"
size={spacing.screenWidth - spacing.large * 4}
startNfcOnLoad={true}
/>
<Button
text={translate('commonCancel')}
+1 -1
View File
@@ -332,7 +332,7 @@ export const QRCodeBlock = function (props: {
/>
)}
{/* NFC HCE share button - only on Android */}
{true && (
{Platform.OS === 'android' && isStringSafeForNfc && isNfcSupported && (
<Button
preset="tertiary"
//text={nfcBroadcast ? "NFC active" : "NFC"}