Skip to content

Commit

Permalink
bruh what
Browse files Browse the repository at this point in the history
  • Loading branch information
philipye314 committed Oct 12, 2023
1 parent 6e6a23c commit 34fae7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
6 changes: 2 additions & 4 deletions src/app/(BottomTabNavigation)/Cases/QRCodeScanner/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { BarCodeScanner, BarCodeScannerResult } from 'expo-barcode-scanner';
import { router } from 'expo-router';
import React, { useEffect, useState } from 'react';
import { Image, Text, View } from 'react-native';
import { Text, View } from 'react-native';
import { TouchableOpacity } from 'react-native-gesture-handler';
import styles from './styles';

Expand Down Expand Up @@ -55,10 +55,8 @@ function QRCodeScannerScreen() {
<Text>Add a new case</Text>
<BarCodeScanner
onBarCodeScanned={handleBarCodeScanned}
style={[styles.scanner]} // StyleSheet.absoluteFillObject,
style={[styles.scanner]}
/>
<Image style={styles.crosshair} source={require('./img/crosshair.png')} />

<Text>Current Scanning: {data}</Text>
<TouchableOpacity onPress={() => router.back()} style={styles.button}>
<Text>Go Back</Text>
Expand Down
8 changes: 0 additions & 8 deletions src/app/(BottomTabNavigation)/Cases/QRCodeScanner/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,4 @@ export default StyleSheet.create({
backgroundColor: '#339FFF',
padding: 10,
},

crosshair: {
position: 'absolute',
top: 120,
left: -90,
height: 600,
width: 600,
},
});

0 comments on commit 34fae7e

Please sign in to comment.