import React from 'react'; import { View, ScrollView, StyleSheet, Platform } from 'react-native'; import { useRouter } from 'expo-router'; import { GradientBackground } from '../../../components/ui'; import { colors, spacing } from '../../../theme'; import { useAuthStore } from '../../../store'; import { useCoupleManagement } from '../hooks'; import { ScreenHeader, SettingsSection, MenuItem, DangerZone } from '../components'; /** * Account settings sub-screen (sign out, delete account). */ export function AccountScreen() { const router = useRouter(); const { couple, isAnonymous } = useAuthStore(); const { handleSignOut, handleDeleteAccount } = useCoupleManagement(); return ( {isAnonymous ? ( router.push("/(app)/settings/save-account" as any)} showChevron={false} /> ) : ( )} {/* Account Danger Zone - delete account only */} ); } const styles = StyleSheet.create({ container: { flex: 1, }, content: { paddingTop: spacing.lg, paddingBottom: Platform.OS === 'ios' ? 40 : 20, }, spacer: { height: spacing.md, }, }); export default AccountScreen;