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}>
|
<ThemeProvider value={colorScheme === "dark" ? DarkTheme : DefaultTheme}>
|
||||||
<Stack
|
<Stack
|
||||||
screenOptions={{
|
screenOptions={{
|
||||||
|
autoHideHomeIndicator: true,
|
||||||
gestureEnabled: true,
|
gestureEnabled: true,
|
||||||
headerShown: false,
|
headerShown: false,
|
||||||
contentStyle: {
|
contentStyle: {
|
||||||
@@ -74,7 +75,10 @@ function RootLayoutNav() {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
|
<Stack.Screen
|
||||||
|
name="(tabs)"
|
||||||
|
options={{ headerShown: false, autoHideHomeIndicator: true }}
|
||||||
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user