From 7de11a495e5bd76e6ff0ef1874cabc50e76f533d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Rodriguez=20Ve=CC=81lez?= Date: Tue, 18 Sep 2018 02:52:12 -0400 Subject: [PATCH] missing file --- screen/send/scanQrAddress.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/screen/send/scanQrAddress.js b/screen/send/scanQrAddress.js index 938455290..5da82b669 100644 --- a/screen/send/scanQrAddress.js +++ b/screen/send/scanQrAddress.js @@ -16,7 +16,7 @@ export default class CameraExample extends React.Component { type: Camera.Constants.Type.back, }; - async onBarCodeRead(ret) { + async onBarCodeScanned(ret) { if (this.ignoreRead) return; this.ignoreRead = true; setTimeout(() => { @@ -28,7 +28,6 @@ export default class CameraExample extends React.Component { } // end async componentWillMount() { - console.warn('here') const { status } = await Permissions.askAsync(Permissions.CAMERA); this.setState({ hasCameraPermission: status === 'granted', @@ -56,7 +55,7 @@ export default class CameraExample extends React.Component { } else { return ( - this.onBarCodeRead(ret)}> + this.onBarCodeScanned(ret)}>