fix qr scan for metamask, add margin and remove font-weight for confirmations input label
This commit is contained in:
parent
2d998b2f24
commit
aa5091d53a
|
@ -105,6 +105,12 @@ const SafeOwners = (props: Props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleScan = (value) => {
|
const handleScan = (value) => {
|
||||||
|
let scannedAddress = value
|
||||||
|
|
||||||
|
if (scannedAddress.startsWith('ethereum:')) {
|
||||||
|
scannedAddress = scannedAddress.replace('ethereum:', '')
|
||||||
|
}
|
||||||
|
|
||||||
form.mutators.setValue(scanQrForOwnerName, value)
|
form.mutators.setValue(scanQrForOwnerName, value)
|
||||||
closeQrModal()
|
closeQrModal()
|
||||||
}
|
}
|
||||||
|
@ -183,7 +189,7 @@ const SafeOwners = (props: Props) => {
|
||||||
</Button>
|
</Button>
|
||||||
</Row>
|
</Row>
|
||||||
<Block margin="md" padding="md" className={classes.owner}>
|
<Block margin="md" padding="md" className={classes.owner}>
|
||||||
<Paragraph noMargin size="md" color="primary" weight="bolder">
|
<Paragraph size="md" color="primary">
|
||||||
Any transaction requires the confirmation of:
|
Any transaction requires the confirmation of:
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
<Row margin="xl" align="center">
|
<Row margin="xl" align="center">
|
||||||
|
|
Loading…
Reference in New Issue