Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Fix public SpamOK email loading issue on mobile app (#998)

Leendert de Borst1c95a86c513e
diff --git a/apps/mobile-app/components/credentials/details/EmailPreview.tsx b/apps/mobile-app/components/credentials/details/EmailPreview.tsx
index c85c52f95..e24d62a0e 100644
--- a/apps/mobile-app/components/credentials/details/EmailPreview.tsx
+++ b/apps/mobile-app/components/credentials/details/EmailPreview.tsx
@@ -207,14 +207,13 @@ export const EmailPreview: React.FC<EmailPreviewProps> = ({ email }) : React.Rea
}
} catch {
setError(t('credentials.emailLoadError'));
- return;
- } finally {
- setLoading(false);
}
}
} catch (err) {
console.error('Error loading emails:', err);
setError(t('credentials.emailUnexpectedError'));
+ } finally {
+ setLoading(false);
}
};