Merge pull request #576 from trezor/fix/show-xrp-qrcode

Fix showing qr code for xrp
release/1.3.0-beta 1.3.0-beta
Vladimir Volek 5 years ago committed by GitHub
commit 5f4a9863d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save