Skip to content

Commit

Permalink
Merge pull request #126 from MrHash/master
Browse files Browse the repository at this point in the history
Remove barcode frame from scanner
  • Loading branch information
ZeusLN authored Oct 13, 2019
2 parents 8710502 + d504fe6 commit 0fdee55
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions components/QRCodeScanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,11 @@ export default class QRCodeScanner extends React.Component<QRProps, QRState> {
<Text>{text}</Text>
</View>
<CameraKitCameraScreen
laserColor={'orange'}
frameColor={'yellow'}
laserColor={"orange"}
scanBarcode={true}
onReadCode={(event: any) =>
handleQRScanned(event.nativeEvent.codeStringValue)
}
hideControls={false}
showFrame={true}
heightForScannerFrame={250}
onReadCode={(event: any) => handleQRScanned(event.nativeEvent.codeStringValue)}
hideControls={true}
showFrame={false}
style={{
flex: 1
}}
Expand Down

0 comments on commit 0fdee55

Please sign in to comment.