import React from 'react' import { View, Text, StyleSheet, TouchableOpacity, SafeAreaView, Alert, ScrollView } from 'react-native' import { useNavigation } from '@react-navigation/native' import type { NativeStackNavigationProp } from '@react-navigation/native-stack' import { useAuth } from '../../context/AuthContext' import type { RootStackParams } from '../../navigation/types' type Nav = NativeStackNavigationProp function Row({ label, value, onPress }: { label: string; value?: string; onPress?(): void }) { return ( {label} {value !== undefined && {value}} {onPress && } ) } export default function ProfileScreen() { const navigation = useNavigation