import { Text, TouchableOpacity, View } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import { useTranslation } from 'react-i18next'; import { useColors } from '../../lib/theme'; type Props = { onConnectPress: () => void; }; /** * Leerer Zustand wenn kein Postfach verbunden ist. * Hero-CTA öffnet ConnectMailSheet. */ export function MailEmptyState({ onConnectPress }: Props) { const { t } = useTranslation(); const colors = useColors(); return ( {/* Icon-Circle */} {t('mail.empty_state_title')} {t('mail.empty_state_subtitle')} {/* Privacy-Punkte */} {(['privacy_1', 'privacy_2', 'privacy_3'] as const).map((key) => ( {t(`mail.${key}`)} ))} {/* CTA */} {t('mail.empty_state_cta')} ); }