Skip to content

Commit

Permalink
test statusbar
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Dec 20, 2023
1 parent c55ef19 commit 64943ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Scanner/Scanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ interface QRScannerProps {
}

const Scanner: React.FC<QRScannerProps> = ({ onRead, onClose }) => {
StatusBar.setHidden(true);
const { Colors } = useTheme();
const [hasCameraPermission, setHasCameraPermission] = useState(false);
const { t } = useTranslation(['home', 'common']);
Expand Down Expand Up @@ -144,6 +143,7 @@ const Scanner: React.FC<QRScannerProps> = ({ onRead, onClose }) => {

return (
<View style={styles.container}>
<StatusBar hidden />
<TouchableOpacity style={styles.backButton} onPress={onClose}>
<Icon name="chevron-left" size={32} color={Colors.white} />
</TouchableOpacity>
Expand Down

0 comments on commit 64943ff

Please sign in to comment.