diff --git a/src/screens/ProfileScreen.tsx b/src/screens/ProfileScreen.tsx index 62e71b93..34f909db 100644 --- a/src/screens/ProfileScreen.tsx +++ b/src/screens/ProfileScreen.tsx @@ -1,7 +1,14 @@ import { useAuthControllerDelete } from '@baca/api/query/auth/auth' import { ControlledField } from '@baca/components' +import { isWeb } from '@baca/constants' import { Button, Text, Spacer, Row, Box, useBottomSheet } from '@baca/design-system' -import { useCallback, useTranslation, useUpdateProfileForm, useScreenOptions } from '@baca/hooks' +import { + useCallback, + useTranslation, + useUpdateProfileForm, + useScreenOptions, + useWeb, +} from '@baca/hooks' import { signOut } from '@baca/store/auth' import { showErrorToast } from '@baca/utils' import { useRouter } from 'expo-router' @@ -9,6 +16,7 @@ import { useRouter } from 'expo-router' export const ProfileScreen = () => { const { t } = useTranslation() const { back } = useRouter() + const { shouldApplyMobileStyles } = useWeb() const { mutateAsync: removeUserAccount, isLoading } = useAuthControllerDelete() const { control, errors, isSubmitting, setFocus, submit } = useUpdateProfileForm() @@ -71,36 +79,69 @@ export const ProfileScreen = () => { {t('profile_screen.profile')} {t('profile_screen.update_your_details')} - - - + + {t('form.labels.first_name')} + + + + + + {t('form.labels.last_name')} + + + + + + {t('form.labels.last_name')} + + + +