import { Text, View } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import { useTranslation } from 'react-i18next'; type Props = { totalBlocked: number; accountCount: number; isLegend?: boolean; }; /** * Kompakte Stats: nur "Blockiert gesamt" prominent + kleines Status-Pill. * Kein Block-Rate, kein Next-Scan — Mode steht auf den Cards. */ export function MailStatsRow({ totalBlocked, accountCount, isLegend }: Props) { const { t } = useTranslation(); return ( {t('mail.stats_blocked')} {totalBlocked.toLocaleString()} {t('mail.stats_account_summary', { count: accountCount })} {/* Mode pill */} {isLegend ? t('mail.live') : t('mail.scheduled')} ); }