1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 10:48:22 +00:00

fix showing qr code for xrp

This commit is contained in:
slowbackspace 2019-05-28 15:50:04 +02:00
parent b8e4f902a2
commit ecc1e374cc

View File

@ -181,21 +181,21 @@ const AccountReceive = (props: Props) => {
</ShowAddressButton>
)}
</Row>
{((addressVerified || addressUnverified) && !isAddressVerifying) ||
(account.imported && (
<QrWrapper>
<Label>
<FormattedMessage {...l10nReceiveMessages.TR_QR_CODE} />
</Label>
<StyledQRCode
bgColor="#FFFFFF"
fgColor="#000000"
level="Q"
style={{ width: 150 }}
value={account.descriptor}
/>
</QrWrapper>
))}
{(((addressVerified || addressUnverified) && !isAddressVerifying) ||
account.imported) && (
<QrWrapper>
<Label>
<FormattedMessage {...l10nReceiveMessages.TR_QR_CODE} />
</Label>
<StyledQRCode
bgColor="#FFFFFF"
fgColor="#000000"
level="Q"
style={{ width: 150 }}
value={account.descriptor}
/>
</QrWrapper>
)}
</AddressWrapper>
</React.Fragment>
</Content>