Dispatch WebView2 runtime toast notification on UI thread (#811)
This commit is contained in:
@@ -31,6 +31,11 @@ public interface INotificationBuilder
|
||||
/// <param name="account">Account that needs attention.</param>
|
||||
void CreateAttentionRequiredNotification(MailAccount account);
|
||||
|
||||
/// <summary>
|
||||
/// Shows a notification when WebView2 runtime is unavailable.
|
||||
/// </summary>
|
||||
void CreateWebView2RuntimeMissingNotification();
|
||||
|
||||
/// <summary>
|
||||
/// Creates a calendar reminder toast for the specified calendar item.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Wino.Core.Domain.Interfaces;
|
||||
|
||||
public interface IWebView2RuntimeValidatorService
|
||||
{
|
||||
/// <summary>
|
||||
/// Validates whether WebView2 runtime is installed and available for use.
|
||||
/// </summary>
|
||||
Task<bool> IsRuntimeAvailableAsync();
|
||||
}
|
||||
|
||||
@@ -238,6 +238,8 @@
|
||||
"Error_FailedToSetupSystemFolders_Title": "Failed to setup system folders",
|
||||
"Exception_AccountNeedsAttention_Title": "Account needs attention",
|
||||
"Exception_AccountNeedsAttention_Message": "'{0}' requires your attention to continue working.",
|
||||
"Exception_WebView2RuntimeMissing_Message": "Wino Mail could not find Microsoft Edge WebView2 Runtime. Please install or repair the runtime to render message content correctly.",
|
||||
"Exception_WebView2RuntimeMissing_Title": "WebView2 runtime is required",
|
||||
"Exception_AuthenticationCanceled": "Authentication canceled",
|
||||
"Exception_CustomThemeExists": "This theme already exists.",
|
||||
"Exception_CustomThemeMissingName": "You must provide a name.",
|
||||
|
||||
Reference in New Issue
Block a user