show safe name above QR code in receive view

This commit is contained in:
mmv 2019-09-25 18:42:39 +04:00
parent b27cad19cc
commit 9f5960ef26
2 changed files with 1419 additions and 4046 deletions

View File

@ -38,10 +38,10 @@ const styles = () => ({
}, },
annotation: { annotation: {
margin: lg, margin: lg,
marginTop: 0, marginBottom: 0,
}, },
safeName: { safeName: {
margin: `${md} ${lg}`, margin: `${md} 0`,
}, },
buttonRow: { buttonRow: {
height: '84px', height: '84px',
@ -81,14 +81,14 @@ const Receive = ({
</IconButton> </IconButton>
</Row> </Row>
<Hairline /> <Hairline />
<Paragraph className={classes.safeName} weight="bold" size="lg" noMargin>
{safeName}
</Paragraph>
<Paragraph className={classes.annotation} size="lg" noMargin> <Paragraph className={classes.annotation} size="lg" noMargin>
This is the address of your Safe. Deposit funds by scanning the QR code or copying the address below. Only send This is the address of your Safe. Deposit funds by scanning the QR code or copying the address below. Only send
ETH and ERC-20 tokens to this address! ETH and ERC-20 tokens to this address!
</Paragraph> </Paragraph>
<Col layout="column" middle="xs"> <Col layout="column" middle="xs">
<Paragraph className={classes.safeName} weight="bold" size="lg" noMargin>
{safeName}
</Paragraph>
<Block className={classes.qrContainer}> <Block className={classes.qrContainer}>
<QRCode value={safeAddress} size={135} /> <QRCode value={safeAddress} size={135} />
</Block> </Block>

5455
yarn.lock

File diff suppressed because it is too large Load Diff