diff --git a/apps/native/src/app/(tabs)/(settings)/_layout.tsx b/apps/native/src/app/(tabs)/(settings)/_layout.tsx
index 1d25b32..8aa6f2a 100644
--- a/apps/native/src/app/(tabs)/(settings)/_layout.tsx
+++ b/apps/native/src/app/(tabs)/(settings)/_layout.tsx
@@ -2,29 +2,5 @@ import { Stack } from "expo-router";
import { useTabScreenOptions } from "@/hooks/use-tab-screen-options";
export default function SettingsLayout() {
- const screenOptions = useTabScreenOptions();
- const changePasswordOptions =
- process.env.EXPO_OS === "ios"
- ? {
- presentation: "formSheet" as const,
- sheetAllowedDetents: "fitToContents" as const,
- sheetGrabberVisible: true,
- headerLargeTitle: false,
- headerTransparent: false,
- headerBlurEffect: "none" as const,
- unstable_headerRightItems: () => [],
- }
- : {
- presentation: "modal" as const,
- headerLargeTitle: false,
- headerTransparent: false,
- headerBlurEffect: "none" as const,
- unstable_headerRightItems: () => [],
- };
-
- return (
-
-
-
- );
+ return ;
}
diff --git a/apps/native/src/app/(tabs)/(settings)/index.tsx b/apps/native/src/app/(tabs)/(settings)/index.tsx
index 248276c..f774880 100644
--- a/apps/native/src/app/(tabs)/(settings)/index.tsx
+++ b/apps/native/src/app/(tabs)/(settings)/index.tsx
@@ -351,7 +351,7 @@ export default function SettingsScreen() {
push("/(tabs)/(settings)/change-password")}
+ onPress={() => push("/change-password")}
/>
)}
diff --git a/apps/native/src/app/_layout.tsx b/apps/native/src/app/_layout.tsx
index a6fdacb..ac13043 100644
--- a/apps/native/src/app/_layout.tsx
+++ b/apps/native/src/app/_layout.tsx
@@ -64,6 +64,27 @@ export const unstable_settings = {
initialRouteName: "(tabs)",
};
+const changePasswordOptions =
+ process.env.EXPO_OS === "ios"
+ ? {
+ title: "Change Password",
+ headerShown: true,
+ presentation: "formSheet" as const,
+ sheetAllowedDetents: "fitToContents" as const,
+ sheetGrabberVisible: true,
+ headerLargeTitle: false,
+ headerTransparent: false,
+ headerBlurEffect: "none" as const,
+ }
+ : {
+ title: "Change Password",
+ headerShown: true,
+ presentation: "modal" as const,
+ headerLargeTitle: false,
+ headerTransparent: false,
+ headerBlurEffect: "none" as const,
+ };
+
function AppContent() {
const contentStyle = useResolveClassNames("bg-background");
@@ -209,6 +230,10 @@ function AppContent() {
+