diff --git a/apps/native/src/app/_layout.tsx b/apps/native/src/app/_layout.tsx index acd7d9e..0483dc2 100644 --- a/apps/native/src/app/_layout.tsx +++ b/apps/native/src/app/_layout.tsx @@ -153,8 +153,7 @@ function AppContent() { name="person/[id]" dangerouslySingular options={{ - headerShown: true, - animation: "slide_from_right", + presentation: "modal", }} /> diff --git a/apps/native/src/app/change-password.tsx b/apps/native/src/app/change-password.tsx index db68c65..4c6ffa5 100644 --- a/apps/native/src/app/change-password.tsx +++ b/apps/native/src/app/change-password.tsx @@ -3,6 +3,7 @@ import { Stack, useRouter } from "expo-router"; import { useRef, useState } from "react"; import { Alert, ScrollView, type TextInput, View } from "react-native"; import Animated, { FadeInDown } from "react-native-reanimated"; +import { useResolveClassNames } from "uniwind"; import { z } from "zod"; import { Button, ButtonLabel } from "@/components/ui/button"; import { Spinner } from "@/components/ui/spinner"; @@ -47,6 +48,8 @@ export default function ChangePasswordScreen() { const confirmPasswordRef = useRef(null); const [revokeOtherSessions, setRevokeOtherSessions] = useState(false); + const headerTitleStyle = useResolveClassNames("font-display text-xl"); + const form = useForm({ defaultValues: { currentPassword: "", @@ -92,7 +95,9 @@ export default function ChangePasswordScreen() { contentInsetAdjustmentBehavior="automatic" keyboardShouldPersistTaps="handled" > - Change Password + }> + Change Password + ({