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