import React from 'react'; import { ScrollView, StyleSheet, Switch, Text, TouchableOpacity, View } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import { useNavigation } from '@react-navigation/native'; import type { NativeStackNavigationProp } from '@react-navigation/native-stack'; import { useAuth } from '@/auth/AuthContext'; import { useTheme } from '@/theme/ThemeContext'; import type { RootStackParamList } from '@/navigation/RootNavigator'; type Nav = NativeStackNavigationProp; export function AccountScreen() { const { colors, mode, toggle } = useTheme(); const { logout } = useAuth(); const navigation = useNavigation