From 0e69c86c51173e76b536071e8cd30617b246b836 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sat, 31 Oct 2026 03:24:30 +0100 Subject: [PATCH] chore: add the confirm before send, delete and archive settings --- src/stores/settings-store.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/stores/settings-store.ts b/src/stores/settings-store.ts index 691608b8..bb0ffb33 100644 --- a/src/stores/settings-store.ts +++ b/src/stores/settings-store.ts @@ -163,6 +163,11 @@ interface PersistedSettings { attachmentReminderEnabled: boolean; attachmentReminderKeywords: string[]; plainTextMode: boolean; + // Optional confirms before sending, deleting and archiving (webmail + // 1.19 accessibility settings, lib/accessibility-settings.ts). + sendConfirmation: boolean; + confirmDelete: boolean; + confirmArchive: boolean; // Undo-send window: every send is deferred by this many seconds (via the // server's FUTURERELEASE support) so it can be cancelled. 0 = send instantly. sendDelaySeconds: number; @@ -362,6 +367,9 @@ const DEFAULT_PERSISTED: PersistedSettings = { 'pielikumā', ], plainTextMode: false, + sendConfirmation: false, + confirmDelete: false, + confirmArchive: false, sendDelaySeconds: 0, signaturePosition: 'below_quote', signatureSeparatorEnabled: true,