Skip to content

Commit

Permalink
Merge pull request #5 from upleveled/remove-statusbar
Browse files Browse the repository at this point in the history
Remove `StatusBar` from Expo Router due to styling issues
  • Loading branch information
ProchaLu authored Nov 7, 2024
2 parents a21fec5 + e6fdd07 commit a224e19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"userInterfaceStyle": "dark",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
Expand Down
2 changes: 0 additions & 2 deletions app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
} from '@expo-google-fonts/poppins';
import Constants from 'expo-constants';
import { Stack } from 'expo-router';
import { StatusBar } from 'expo-status-bar';
import { Platform, SafeAreaView, StyleSheet, View } from 'react-native';
import { colors } from '../constants/colors';

Expand Down Expand Up @@ -35,7 +34,6 @@ export default function HomeLayout() {

return (
<SafeAreaView style={styles.container}>
<StatusBar style="light" />
<View style={styles.view}>
<Stack>
<Stack.Screen
Expand Down

0 comments on commit a224e19

Please sign in to comment.