Skip to content

Commit

Permalink
fix scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Nov 2, 2023
1 parent 3911ded commit 369d525
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/screens/Home/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -909,13 +909,13 @@ function Home({ navigation }: Props) {
<ManualInput actionStatus={handleManualInput} />
)}
{isMenuModalOpen && <MenuModal actionStatus={handleMenuModalAction} />}
{showScanner && (
<Scanner
onRead={(data) => handleScannedData(data)}
onClose={handleCancelScanner}
/>
)}
</View>
{showScanner && (
<Scanner
onRead={(data) => handleScannedData(data)}
onClose={handleCancelScanner}
/>
)}
<PoweredByFlux />
</ScrollView>
);
Expand Down

0 comments on commit 369d525

Please sign in to comment.