diff --git a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/img/crosshair.png b/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/img/crosshair.png deleted file mode 100644 index 5ea99a51..00000000 Binary files a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/img/crosshair.png and /dev/null differ diff --git a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/index.tsx b/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/index.tsx index 3f49642f..f6337517 100644 --- a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/index.tsx +++ b/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/index.tsx @@ -1,8 +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 { TouchableOpacity } from 'react-native-gesture-handler'; +import { Text, TouchableOpacity, View } from 'react-native'; import styles from './styles'; enum permissions { @@ -42,10 +41,8 @@ function QRCodeScannerScreen() { Add a new case - - Current Scanning: {data} router.back()} style={styles.button}> Go Back diff --git a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/styles.ts b/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/styles.ts index 4df993bd..0609aa6b 100644 --- a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/styles.ts +++ b/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/styles.ts @@ -21,12 +21,4 @@ export default StyleSheet.create({ backgroundColor: '#339FFF', padding: 10, }, - - crosshair: { - position: 'absolute', - top: 120, - left: -90, - height: 600, - width: 600, - }, });