From db747ee812f04a4c6bad376372f082042139e523 Mon Sep 17 00:00:00 2001 From: philipye314 Date: Sun, 8 Oct 2023 02:41:57 -0700 Subject: [PATCH] did branch --- src/app/(Authentication)/index.tsx | 0 .../Cases/QRCodeScanner/img/crosshair.png | Bin 0 -> 15885 bytes .../Cases/QRCodeScanner/img/silly.png | Bin 9264 -> 0 bytes .../Cases/QRCodeScanner/index.tsx | 6 +++--- .../Cases/QRCodeScanner/styles.ts | 13 ++++++++----- 5 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 src/app/(Authentication)/index.tsx create mode 100644 src/app/(BottomTabNavigation)/Cases/QRCodeScanner/img/crosshair.png delete mode 100644 src/app/(BottomTabNavigation)/Cases/QRCodeScanner/img/silly.png diff --git a/src/app/(Authentication)/index.tsx b/src/app/(Authentication)/index.tsx new file mode 100644 index 00000000..e69de29b diff --git a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/img/crosshair.png b/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/img/crosshair.png new file mode 100644 index 0000000000000000000000000000000000000000..5ea99a51baad022fcb7fa96c01d953b0aa209d0a GIT binary patch literal 15885 zcmeHN`8U+>+rMXw46>7biP9noDP)Uelpl9_Ijcu$$iLw?FhJ=zDN}Fl2OeITW ziLzwLSSJl;B!(<~$LIMEp7ZH^pXZ$S5A%MXd!2J%bG`2Cb-m`gZgbK?fKP@G03cwA zI${d|LKgrYJaQAKN6mx2F@W$seBv+wRq6bz9^3%%Sza9J8(c< zYp*5%sOtr%!yGf&Ta1R;7liCh`&d;uzHvZVg@|kxb}AOW1w5__i<*2$NaC{>mk=SK z>>A>``A`K(qeVMO-iL1_IVanl)16fuEPELp!JL^{>0POz6X>h$xDFw_h^Xq#$zmU% zXPaQ4-=~;vjcRDA#ls~~G=!4yB=wy)_Xhx2T)6O<;HSo`uqOck4g$OPZWC=9`E!MA zqv`;ZZUUOJD4idcVGEk~o@o{b%~Ig$>F4M9Ko$VLxF}O)@JIkm|FSgV27Tq3gOZ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j2_RTs2D3^gj>)Xr~>}DF@$J1nOhk zG4(ch`g;k9qier%-E;1Muuyhu-k40?eR* z0y{Oj2~b*UaDn*N3du=o$6Q-tylt~R@-X?`<~;#uO3<662EhN&=SD!>5!e8oZ#^3&Ni zJ>xV@|HNikRGivw3f;d!0MO(rUd}d3J!zB*i_8IZ6b&f6al*K4tYYb;D>pUO9>-%< z0zvvRl{0yoGdYn0i#kdJ>x>Z(80VlCfA64w(T330f7M0*UGp*n4HUuxK;3&r?-Pwi zDakSeY{kMz799q@EJYz);5+jI;|2MbGM!vv-!LUy|PP37uJCTd25GpeeS_6Md&KLl*updkX#suD>- z96x>?#v7RC$|-ap+^1?b&JgAm-z2U!_c#Y|vIm+swmn(1v3pY5m~1Q%#I?l7$&mA? zi5iQzH<19`B}t)cz8b>u8d!5qVK8VG|I~;K&$z%rMp$hRdEkG9hIc*AY)r*)s-}Nv01PCNT`_CX zoF!8mT1Ss_uh}>NOZL702qXB<;Z>0!PzF=M(4)JBF#+Ct+JDJdprfT0vx`+Dm)0~k zE5JDyupYg!Q56kIy^swcsTY!Z|GQEz^uHr?5ktWUs>p;YGC3%Kf)Qi`jvGLJ0NDVl zPKNT+|J(T~iy1nNM{tm8^65|S3^MpyWc-F~(kHed9#RTvoF`aBY-E^Ecl;x(7{1-m nk*0Y!N+sN_|8emD{Stnz{KvPVwZH7b&vlKpaQ@` literal 0 HcmV?d00001 diff --git a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/img/silly.png b/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/img/silly.png deleted file mode 100644 index de7e3b402c300a1b3c2b45f715caa1d298f43eb7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9264 zcmeI%?N3uz7y$66w6?UP<>gKtwiyG3#g_p|74Ad=Y(*e*ErK65%X`{7H-WVSZN=(k zaSl?YWXQBqI%gJ>#ldP53Jyze2q|S++*D}7C~OoVI1w0u)xpMY{|9P9a?Y2NbMBLS zp7YDey-#xLbH!O)&NdDJaC5Rnc>oL?fJFo|shQoS)BXpMRhb`D!RCyQJQ_ycPv*?4rP2E~lYAt=T6I)kYZIK{;D(x1yA4W7S;5{9o3SuS4FWb;l#TVrT6C$Aiv*VCy;&uUov>VH`+%5 z#A9W4jgc)N!)xjI***SE1qXVE0mMVE4(QojFWy!ITsyfqq$;@QUNz|cof@-jw67D& z7YPJhV7^J4VlCgrArqfAX73ybem;7E>)e53By)jjrdWY}^q6%XmHfh*G1>qi)f0utr+vTC68U*E%Eg~2Ns=VJi* zr)usV)q7iG32hL|T$vgl66FFoG}Lv=sQ21p34hJ~ZQ-OZ$t29DqE%7JJq`V-n|!W% zHj(DjXkNQgmv9p|KI)!zaG>cQl}*q;62V$J8C?PTFr4T&j;9F*9Smr)2p%*?!p#B6 z5$co^2Wsh5=ftQxhjkuo(ebhL7LryNJ}PMF zZcf?U#}Yc^$A|4R-4jun_ZX%WyN4)4tEwWjA z&s==P-LVuj2uAeS#ViKmter2_OL^fCP{L64-D8guxe0f?1)fi9C38 QpFjPaOtGl_os!T02a>UeF#rGn diff --git a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/index.tsx b/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/index.tsx index ff7d12cc..3f49642f 100644 --- a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/index.tsx +++ b/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/index.tsx @@ -1,7 +1,7 @@ import { BarCodeScanner, BarCodeScannerResult } from 'expo-barcode-scanner'; import { router } from 'expo-router'; import React, { useEffect, useState } from 'react'; -import { Image, StyleSheet, Text, View } from 'react-native'; +import { Image, Text, View } from 'react-native'; import { TouchableOpacity } from 'react-native-gesture-handler'; import styles from './styles'; @@ -42,9 +42,9 @@ function QRCodeScannerScreen() { Add a new case - + Current Scanning: {data} router.back()} style={styles.button}> diff --git a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/styles.ts b/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/styles.ts index d839016d..4df993bd 100644 --- a/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/styles.ts +++ b/src/app/(BottomTabNavigation)/Cases/QRCodeScanner/styles.ts @@ -9,10 +9,10 @@ export default StyleSheet.create({ }, scanner: { - height: 400, - width: 400, + height: 300, + width: 300, border: 'solid', - borderWidth: 5, + borderWidth: 3, }, button: { @@ -23,7 +23,10 @@ export default StyleSheet.create({ }, crosshair: { - height: 400, - width: 400, + position: 'absolute', + top: 120, + left: -90, + height: 600, + width: 600, }, });