File tree Expand file tree Collapse file tree
apps/mobile/src/features/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { useSafeAreaInsets } from "react-native-safe-area-context";
77
88import { hasCloudPublicConfig } from "../cloud/publicConfig" ;
99import { useAdaptiveWorkspaceLayout } from "../layout/AdaptiveWorkspaceLayout" ;
10- import { NativeHeaderToolbar } from "../../native/StackHeader" ;
10+ import { NativeHeaderToolbar , NativeStackScreenOptions } from "../../native/StackHeader" ;
1111import { useSavedRemoteConnections } from "../../state/use-remote-environment-registry" ;
1212import { SettingsRow } from "./components/SettingsRow" ;
1313import { SettingsSection } from "./components/SettingsSection" ;
@@ -30,13 +30,16 @@ export function SettingsRouteScreen() {
3030 return (
3131 < >
3232 { Platform . OS === "ios" && layout . usesSplitView ? (
33- < NativeHeaderToolbar placement = "left" >
34- < NativeHeaderToolbar . Button
35- accessibilityLabel = "Go back"
36- icon = "chevron.left"
37- onPress = { ( ) => navigation . goBack ( ) }
38- />
39- </ NativeHeaderToolbar >
33+ < >
34+ < NativeStackScreenOptions options = { { headerBackVisible : false } } />
35+ < NativeHeaderToolbar placement = "left" >
36+ < NativeHeaderToolbar . Button
37+ accessibilityLabel = "Go back"
38+ icon = "chevron.left"
39+ onPress = { ( ) => navigation . goBack ( ) }
40+ />
41+ </ NativeHeaderToolbar >
42+ </ >
4043 ) : null }
4144 < SettingsEnvironmentFilterHeader closeSettings />
4245 { Platform . OS === "android" ? (
You can’t perform that action at this time.
0 commit comments