为主屏幕添加标题“Home”,更新导航堆栈配置
This commit is contained in:
@@ -59,7 +59,10 @@ function RootLayoutNav() {
|
||||
return (
|
||||
<NavigationThemeProvider value={navigationTheme}>
|
||||
<Stack>
|
||||
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
|
||||
<Stack.Screen
|
||||
name="(tabs)"
|
||||
options={{ headerShown: false, title: "Home" }}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="modal"
|
||||
options={{ presentation: "modal", title: "Modal" }}
|
||||
|
||||
Reference in New Issue
Block a user