import React from 'react'; import { View, Modal, StyleSheet } from 'react-native'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; import { useTranslation } from 'react-i18next'; import Text from '~/components/atoms/Text'; import Button from '~/components/atoms/Button'; import { useTheme } from '~/features/theme/ThemeProvider'; import Icon from '~/components/atoms/Icon'; interface PasswordResetRequiredModalProps { visible: boolean; onClose: () => void; onResetPassword: () => void; } const PasswordResetRequiredModal: React.FC = ({ visible, onClose, onResetPassword, }) => { const { isDark } = useTheme(); const { t } = useTranslation(); const insets = useSafeAreaInsets(); console.log('PasswordResetRequiredModal rendered with visible:', visible); return ( {t('auth.password_reset_required', 'Password Reset Required')} {t('auth.error_firebase_password_reset_required', 'Due to a system update, you need to reset your password. Please use the "Forgot Password" function.' )} {t('auth.password_reset_info', 'This is a one-time requirement due to our authentication system update. Your account remains secure.' )}