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
+9
View File
@@ -19,6 +19,7 @@ export function EmailSettings() {
emailsPerPage,
externalContentPolicy,
mailAttachmentAction,
emailAlwaysLightMode,
trustedSenders,
updateSetting,
} = useSettingsStore();
@@ -104,6 +105,14 @@ export function EmailSettings() {
/>
</SettingItem>
{/* Always Light Mode for Emails */}
<SettingItem label={t('always_light_mode.label')} description={t('always_light_mode.description')}>
<ToggleSwitch
checked={emailAlwaysLightMode}
onChange={(checked) => updateSetting('emailAlwaysLightMode', checked)}
/>
</SettingItem>
{/* External Content */}
<SettingItem label={t('external_content.label')} description={t('external_content.description')}>
<Select