mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-26 07:51:36 +00:00
Merge pull request #528 from trezor/fix/receive-qr-code
Fix/condition for showing qr code
This commit is contained in:
commit
c28b983544
@ -177,8 +177,8 @@ const AccountReceive = (props: Props) => {
|
||||
</ShowAddressButton>
|
||||
)}
|
||||
</Row>
|
||||
{((addressVerified || addressUnverified) && !isAddressVerifying) ||
|
||||
(account.imported && (
|
||||
{(((addressVerified || addressUnverified) && !isAddressVerifying) ||
|
||||
account.imported) && (
|
||||
<QrWrapper>
|
||||
<Label>
|
||||
<FormattedMessage {...l10nReceiveMessages.TR_QR_CODE} />
|
||||
@ -191,7 +191,7 @@ const AccountReceive = (props: Props) => {
|
||||
value={account.descriptor}
|
||||
/>
|
||||
</QrWrapper>
|
||||
))}
|
||||
)}
|
||||
</AddressWrapper>
|
||||
</React.Fragment>
|
||||
</Content>
|
||||
|
Loading…
Reference in New Issue
Block a user