mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 12:33:26 +00:00
fix: hide iOS home indicator when no touch
This commit is contained in:
@@ -67,6 +67,7 @@ function RootLayoutNav() {
|
||||
<ThemeProvider value={colorScheme === "dark" ? DarkTheme : DefaultTheme}>
|
||||
<Stack
|
||||
screenOptions={{
|
||||
autoHideHomeIndicator: true,
|
||||
gestureEnabled: true,
|
||||
headerShown: false,
|
||||
contentStyle: {
|
||||
@@ -74,7 +75,10 @@ function RootLayoutNav() {
|
||||
},
|
||||
}}
|
||||
>
|
||||
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
|
||||
<Stack.Screen
|
||||
name="(tabs)"
|
||||
options={{ headerShown: false, autoHideHomeIndicator: true }}
|
||||
/>
|
||||
</Stack>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
Reference in New Issue
Block a user