diff --git a/Wino.Mail/Views/ImapSetup/AdvancedImapSetupPage.xaml.cs b/Wino.Mail/Views/ImapSetup/AdvancedImapSetupPage.xaml.cs index 3b4ec774..12ac4032 100644 --- a/Wino.Mail/Views/ImapSetup/AdvancedImapSetupPage.xaml.cs +++ b/Wino.Mail/Views/ImapSetup/AdvancedImapSetupPage.xaml.cs @@ -15,8 +15,6 @@ namespace Wino.Views.ImapSetup { public sealed partial class AdvancedImapSetupPage : Page { - private string _protocolLog; - public List AvailableAuthenticationMethods { get; } = new List() { new ImapAuthenticationMethodModel(Core.Domain.Enums.ImapAuthenticationMethod.Auto, Translator.ImapAuthenticationMethod_Auto), diff --git a/Wino.Mail/Views/ImapSetup/WelcomeImapSetupPage.xaml.cs b/Wino.Mail/Views/ImapSetup/WelcomeImapSetupPage.xaml.cs index 329c9dc8..042821ba 100644 --- a/Wino.Mail/Views/ImapSetup/WelcomeImapSetupPage.xaml.cs +++ b/Wino.Mail/Views/ImapSetup/WelcomeImapSetupPage.xaml.cs @@ -17,7 +17,6 @@ namespace Wino.Views.ImapSetup { public sealed partial class WelcomeImapSetupPage : Page { - private ImapConnectionFailedPackage failedPackage; private readonly IAutoDiscoveryService _autoDiscoveryService = App.Current.Services.GetService(); public WelcomeImapSetupPage() @@ -85,20 +84,8 @@ namespace Wino.Views.ImapSetup Email = AddressBox.Text }; - if (failedPackage != null) - { - // Go to advanced settings with updated minimal settings. - failedPackage.Settings.UserMinimalSettings = latestMinimalSettings; - - WeakReferenceMessenger.Default.Send(new ImapSetupNavigationRequested(typeof(AdvancedImapSetupPage), failedPackage.Settings)); - } - else - { - // Go to advanced page. - - WeakReferenceMessenger.Default.Send(new ImapSetupNavigationRequested(typeof(AdvancedImapSetupPage), latestMinimalSettings)); - } + WeakReferenceMessenger.Default.Send(new ImapSetupNavigationRequested(typeof(AdvancedImapSetupPage), latestMinimalSettings)); } } }