Try fix nav bar foreground color
This commit is contained in:
+1
-4
@@ -83,10 +83,7 @@ export default function RootLayout() {
|
||||
|
||||
useEffect(() => {
|
||||
if (Platform.OS === 'android') {
|
||||
const backgroundColor = theme.colors.primary;
|
||||
const foregroundColor = colorScheme === 'dark' ? 'light' : 'dark';
|
||||
|
||||
NavigationBar.setStyle('light');
|
||||
NavigationBar.setStyle('inverted');
|
||||
}
|
||||
}, [colorScheme]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user