Dispose mail webviews when closing the shell
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace Wino.Core.Domain.Enums;
|
||||
|
||||
public enum ThreeButtonDialogResult
|
||||
{
|
||||
Primary,
|
||||
Secondary,
|
||||
Cancel
|
||||
}
|
||||
@@ -19,6 +19,12 @@ public interface IMailDialogService : IDialogServiceBase
|
||||
{
|
||||
void ShowReadOnlyCalendarMessage();
|
||||
Task<bool> ShowHardDeleteConfirmationAsync();
|
||||
Task<ThreeButtonDialogResult> ShowThreeButtonDialogAsync(string title,
|
||||
string description,
|
||||
string primaryButtonText,
|
||||
string secondaryButtonText,
|
||||
string cancelButtonText,
|
||||
WinoCustomMessageDialogIcon? icon = null);
|
||||
Task HandleSystemFolderConfigurationDialogAsync(Guid accountId, IFolderService folderService);
|
||||
|
||||
// Custom dialogs
|
||||
|
||||
@@ -305,6 +305,8 @@
|
||||
"DialogMessage_DeleteRecurringSeriesTitle": "Delete Recurring Series",
|
||||
"DialogMessage_DiscardDraftConfirmationMessage": "This draft will be discarded. Do you want to continue?",
|
||||
"DialogMessage_DiscardDraftConfirmationTitle": "Discard Draft",
|
||||
"DialogMessage_CloseDraftWindowConfirmationMessage": "A draft is still open. Save it before closing the window?",
|
||||
"DialogMessage_CloseDraftWindowConfirmationTitle": "Close Window",
|
||||
"DialogMessage_EmptySubjectConfirmation": "Missing Subject",
|
||||
"DialogMessage_EmptySubjectConfirmationMessage": "Message has no subject. Do you want to continue?",
|
||||
"DialogMessage_EnableStartupLaunchDeniedMessage": "You can enable startup launch from Settings -> App Preferences.",
|
||||
|
||||
Reference in New Issue
Block a user