mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-27 02:38:18 +00:00
fix condition fow showing qr code
This commit is contained in:
parent
6dc3b8f9f3
commit
a989279766
@ -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…
Reference in New Issue
Block a user