mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
fix: automatically set top inset on Android in native stack
This commit is contained in:
@@ -122,7 +122,7 @@ export default function NativeStackScreen({
|
||||
}, [navigation]);
|
||||
|
||||
return (
|
||||
<NativeStack.Navigator screenOptions={{ headerTopInsetEnabled: false }}>
|
||||
<NativeStack.Navigator>
|
||||
<NativeStack.Screen
|
||||
name="Article"
|
||||
component={ArticleScreen}
|
||||
|
||||
Reference in New Issue
Block a user