fix condition fow showing qr code

release/1.2.0-beta
slowbackspace 5 years ago committed by Vladimir Volek
parent 6dc3b8f9f3
commit 8c7e8435f0

@ -177,21 +177,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>

Loading…
Cancel
Save