From fa1304c7c9655fac815014149481c5725759be21 Mon Sep 17 00:00:00 2001 From: Dmytro Ponomarenko Date: Wed, 14 Mar 2018 10:44:26 +0200 Subject: [PATCH] updates --- example/src/BarcodeScreen.js | 4 ++-- example/src/{ExampleScreen.js => CheckingScreen.js} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename example/src/{ExampleScreen.js => CheckingScreen.js} (100%) diff --git a/example/src/BarcodeScreen.js b/example/src/BarcodeScreen.js index 8b18f5f..3b220b8 100644 --- a/example/src/BarcodeScreen.js +++ b/example/src/BarcodeScreen.js @@ -3,7 +3,7 @@ import { Alert } from 'react-native'; import { CameraKitCameraScreen } from 'react-native-camera-kit'; -import ExampleScreen from './ExampleScreen'; +import CheckingScreen from './CheckingScreen'; export default class CameraScreen extends Component { @@ -47,7 +47,7 @@ export default class CameraScreen extends Component { frameColor={"yellow"} //onReadCode={((event) => Alert.alert(`Qr code found ${event.nativeEvent.codeStringValue} `))} - onReadCode = {((event) => this.setState({ example: ExampleScreen}))} + onReadCode = {((event) => this.setState({ example: CheckingScreen}))} hideControls={true} isNeedMultipleScanBarcode = {true} // offsetForScannerFrame = {10} diff --git a/example/src/ExampleScreen.js b/example/src/CheckingScreen.js similarity index 100% rename from example/src/ExampleScreen.js rename to example/src/CheckingScreen.js