mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-02 00:06:23 +00:00
chore: add the confirm before send, delete and archive settings
This commit is contained in:
@@ -163,6 +163,11 @@ interface PersistedSettings {
|
|||||||
attachmentReminderEnabled: boolean;
|
attachmentReminderEnabled: boolean;
|
||||||
attachmentReminderKeywords: string[];
|
attachmentReminderKeywords: string[];
|
||||||
plainTextMode: boolean;
|
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
|
// 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.
|
// server's FUTURERELEASE support) so it can be cancelled. 0 = send instantly.
|
||||||
sendDelaySeconds: number;
|
sendDelaySeconds: number;
|
||||||
@@ -362,6 +367,9 @@ const DEFAULT_PERSISTED: PersistedSettings = {
|
|||||||
'pielikumā',
|
'pielikumā',
|
||||||
],
|
],
|
||||||
plainTextMode: false,
|
plainTextMode: false,
|
||||||
|
sendConfirmation: false,
|
||||||
|
confirmDelete: false,
|
||||||
|
confirmArchive: false,
|
||||||
sendDelaySeconds: 0,
|
sendDelaySeconds: 0,
|
||||||
signaturePosition: 'below_quote',
|
signaturePosition: 'below_quote',
|
||||||
signatureSeparatorEnabled: true,
|
signatureSeparatorEnabled: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user