feat: add plain text only setting for email composer #105

This commit is contained in:
Linus Rath
2026-03-27 00:38:11 +01:00
parent a46fb9c8af
commit b75d064f20
13 changed files with 125 additions and 29 deletions
+9
View File
@@ -40,6 +40,7 @@ export function EmailSettings() {
permanentlyDeleteJunk,
showPreview,
disableThreading,
plainTextMode,
emailsPerPage,
externalContentPolicy,
mailAttachmentAction,
@@ -221,6 +222,14 @@ export function EmailSettings() {
/>
</SettingItem>
{/* Plain Text Mode */}
<SettingItem label={t('plain_text_mode.label')} description={t('plain_text_mode.description')}>
<ToggleSwitch
checked={plainTextMode}
onChange={(checked) => updateSetting('plainTextMode', checked)}
/>
</SettingItem>
{/* Quick Hover Actions */}
{isFeatureEnabled('hoverActionsConfigEnabled') && (
<div className="py-3 border-b border-border space-y-3">