1
0
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:
Vladimir Volek 2019-04-24 12:28:55 +02:00 committed by GitHub
commit c28b983544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>