diff --git a/Wino.Mail.ViewModels/AppShellViewModel.cs b/Wino.Mail.ViewModels/AppShellViewModel.cs index 342786e1..46a39f8d 100644 --- a/Wino.Mail.ViewModels/AppShellViewModel.cs +++ b/Wino.Mail.ViewModels/AppShellViewModel.cs @@ -252,6 +252,15 @@ namespace Wino.Mail.ViewModels { if (!_configurationService.Get(IsActivateStartupLaunchAskedKey, false)) { + var currentBehavior = await _startupBehaviorService.GetCurrentStartupBehaviorAsync(); + + // User somehow already enabled Wino before the first launch. + if (currentBehavior == StartupBehaviorResult.Enabled) + { + _configurationService.Set(IsActivateStartupLaunchAskedKey, true); + return; + } + bool isAccepted = await DialogService.ShowWinoCustomMessageDialogAsync(Translator.DialogMessage_EnableStartupLaunchTitle, Translator.DialogMessage_EnableStartupLaunchMessage, Translator.Buttons_Yes,