Skip to content

Commit

Permalink
fix: simplify barcodelogic
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Struck committed Dec 9, 2023
1 parent a97d6e3 commit f274237
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions native/app/barcode_modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ export default function BarcodeModal() {
if (!permission?.granted && !permission?.canAskAgain) {
// Camera permissions are not granted and can not be asked again
return (
<SafeAreaView
edges={["left", "right", "bottom"]}
style={styles.container}
>
<SafeAreaView style={styles.container}>
<Typography
variant="l"
color="darkBlue"
Expand Down Expand Up @@ -66,10 +63,7 @@ export default function BarcodeModal() {
if (!permission?.granted && permission?.canAskAgain) {
// Camera permissions are not granted yet
return (
<SafeAreaView
edges={["left", "right", "bottom"]}
style={styles.container}
>
<SafeAreaView style={styles.container}>
<Typography
variant="l"
color="darkBlue"
Expand Down

0 comments on commit f274237

Please sign in to comment.