mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
FIX: Make QR code on receive screen accessible #5388
This commit is contained in:
parent
368ca00b4f
commit
9845632fc6
2 changed files with 8 additions and 2 deletions
|
@ -108,7 +108,12 @@ const QRCodeComponent: React.FC<QRCodeComponentProps> = ({
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={styles.qrCodeContainer} testID="BitcoinAddressQRCodeContainer">
|
<View
|
||||||
|
style={styles.qrCodeContainer}
|
||||||
|
testID="BitcoinAddressQRCodeContainer"
|
||||||
|
accessibilityRole="image"
|
||||||
|
accessibilityLabel={loc.receive.qrcode_for_the_address}
|
||||||
|
>
|
||||||
{isMenuAvailable ? (
|
{isMenuAvailable ? (
|
||||||
<ToolTipMenu actions={menuActions()} onPressMenuItem={onPressMenuItem}>
|
<ToolTipMenu actions={menuActions()} onPressMenuItem={onPressMenuItem}>
|
||||||
{renderQRCode}
|
{renderQRCode}
|
||||||
|
|
|
@ -125,7 +125,8 @@
|
||||||
"maxSats": "Maximum amount is {max} sats",
|
"maxSats": "Maximum amount is {max} sats",
|
||||||
"maxSatsFull": "Maximum amount is {max} sats or {currency}",
|
"maxSatsFull": "Maximum amount is {max} sats or {currency}",
|
||||||
"minSats": "Minimal amount is {min} sats",
|
"minSats": "Minimal amount is {min} sats",
|
||||||
"minSatsFull": "Minimal amount is {min} sats or {currency}"
|
"minSatsFull": "Minimal amount is {min} sats or {currency}",
|
||||||
|
"qrcode_for_the_address": "QR Code for the address"
|
||||||
},
|
},
|
||||||
"send": {
|
"send": {
|
||||||
"provided_address_is_invoice": "This address appears to be for a Lightning invoice. Please, go to your Lightning wallet in order to make a payment for this invoice.",
|
"provided_address_is_invoice": "This address appears to be for a Lightning invoice. Please, go to your Lightning wallet in order to make a payment for this invoice.",
|
||||||
|
|
Loading…
Add table
Reference in a new issue