We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df444d commit 1a0ed97Copy full SHA for 1a0ed97
source/app.tsx
@@ -29,6 +29,7 @@ export default function App(): JSX.Element {
29
const navigationRef = React.useRef()
30
const scheme = useColorScheme()
31
const theme = scheme === 'dark' ? CombinedDarkTheme : CombinedLightTheme
32
+ const statusBarStyle = scheme === 'dark' ? 'light-content' : 'dark-content'
33
34
return (
35
<ReduxProvider store={store}>
@@ -51,11 +52,7 @@ export default function App(): JSX.Element {
51
52
}}
53
theme={theme}
54
>
- <StatusBar
55
- barStyle={
56
- scheme === 'dark' ? 'light-content' : 'dark-content'
57
- }
58
- />
+ <StatusBar barStyle={statusBarStyle} />
59
<RootStack />
60
</NavigationContainer>
61
</ActionSheetProvider>
0 commit comments