From f7ad978474f42eb96f4f6c79376391504cf228c1 Mon Sep 17 00:00:00 2001 From: brunobar79 <brunobar79@gmail.com> Date: Mon, 23 Jul 2018 21:27:51 -0400 Subject: camera working back and forth --- ui/app/components/send/send-content/send-content.component.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/app/components/send/send-content/send-content.component.js') diff --git a/ui/app/components/send/send-content/send-content.component.js b/ui/app/components/send/send-content/send-content.component.js index 7a0b1a18..566ee1c7 100644 --- a/ui/app/components/send/send-content/send-content.component.js +++ b/ui/app/components/send/send-content/send-content.component.js @@ -11,6 +11,7 @@ export default class SendContent extends Component { static propTypes = { updateGas: PropTypes.func, + scanQrCode: PropTypes.func, }; render () { @@ -19,6 +20,7 @@ export default class SendContent extends Component { <div className="send-v2__form"> <SendFromRow /> <SendToRow updateGas={(updateData) => this.props.updateGas(updateData)} /> + <button onClick={_ => this.props.scanQrCode() }>or scan a QR code</button> <SendAmountRow updateGas={(updateData) => this.props.updateGas(updateData)} /> <SendGasRow /> <SendHexDataRow /> -- cgit From d5929e5c42e230fc0a52337f86b5850e68516563 Mon Sep 17 00:00:00 2001 From: brunobar79 <brunobar79@gmail.com> Date: Mon, 23 Jul 2018 22:10:57 -0400 Subject: added qr code scanner icon in send transaction --- ui/app/components/send/send-content/send-content.component.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ui/app/components/send/send-content/send-content.component.js') diff --git a/ui/app/components/send/send-content/send-content.component.js b/ui/app/components/send/send-content/send-content.component.js index 566ee1c7..60f97ab3 100644 --- a/ui/app/components/send/send-content/send-content.component.js +++ b/ui/app/components/send/send-content/send-content.component.js @@ -19,8 +19,10 @@ export default class SendContent extends Component { <PageContainerContent> <div className="send-v2__form"> <SendFromRow /> - <SendToRow updateGas={(updateData) => this.props.updateGas(updateData)} /> - <button onClick={_ => this.props.scanQrCode() }>or scan a QR code</button> + <SendToRow + updateGas={(updateData) => this.props.updateGas(updateData)} + scanQrCode={ _ => this.props.scanQrCode()} + /> <SendAmountRow updateGas={(updateData) => this.props.updateGas(updateData)} /> <SendGasRow /> <SendHexDataRow /> -- cgit From ea028e750663b41d5d01ea642f7946ffbbb1287a Mon Sep 17 00:00:00 2001 From: brunobar79 <brunobar79@gmail.com> Date: Thu, 26 Jul 2018 20:56:58 -0400 Subject: fully working without tweaking ext. permission --- ui/app/components/send/send-content/send-content.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/app/components/send/send-content/send-content.component.js') diff --git a/ui/app/components/send/send-content/send-content.component.js b/ui/app/components/send/send-content/send-content.component.js index 60f97ab3..df7bcb7c 100644 --- a/ui/app/components/send/send-content/send-content.component.js +++ b/ui/app/components/send/send-content/send-content.component.js @@ -20,7 +20,7 @@ export default class SendContent extends Component { <div className="send-v2__form"> <SendFromRow /> <SendToRow - updateGas={(updateData) => this.props.updateGas(updateData)} + updateGas={(updateData) => this.props.updateGas(updateData)} scanQrCode={ _ => this.props.scanQrCode()} /> <SendAmountRow updateGas={(updateData) => this.props.updateGas(updateData)} /> -- cgit