feat: add 'Always Light Mode' setting for email display

This commit is contained in:
Linus Rath
2026-03-17 00:56:34 +01:00
parent a834528bc1
commit 6e78f2a09e
12 changed files with 50 additions and 4 deletions
+2
View File
@@ -83,6 +83,7 @@ interface SettingsState {
emailsPerPage: number;
externalContentPolicy: ExternalContentPolicy;
mailAttachmentAction: MailAttachmentAction;
emailAlwaysLightMode: boolean; // Always render email content in light mode
// Composer
autoSaveDraftInterval: number; // milliseconds
@@ -164,6 +165,7 @@ const DEFAULT_SETTINGS = {
emailsPerPage: 50,
externalContentPolicy: 'ask' as ExternalContentPolicy,
mailAttachmentAction: 'preview' as MailAttachmentAction,
emailAlwaysLightMode: false,
// Composer
autoSaveDraftInterval: 60000, // 1 minute