fix qr scan for metamask, add margin and remove font-weight for confirmations input label

This commit is contained in:
mmv 2019-07-22 11:44:34 +04:00
parent 2d998b2f24
commit aa5091d53a
1 changed files with 7 additions and 1 deletions

View File

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