From afd7b5650f621e693737a0730a2bb61f9454213c Mon Sep 17 00:00:00 2001 From: Aleh Khantsevich Date: Sat, 27 Apr 2024 16:29:26 +0200 Subject: [PATCH] Removed useless command paramter and duplicate registration --- Wino.Mail/App.xaml.cs | 1 - Wino.Mail/Views/Settings/SettingOptionsPage.xaml | 1 - 2 files changed, 2 deletions(-) diff --git a/Wino.Mail/App.xaml.cs b/Wino.Mail/App.xaml.cs index bf5862c2..359a8176 100644 --- a/Wino.Mail/App.xaml.cs +++ b/Wino.Mail/App.xaml.cs @@ -113,7 +113,6 @@ namespace Wino { services.AddSingleton, ApplicationResourceManager>(); services.AddSingleton(); - services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); diff --git a/Wino.Mail/Views/Settings/SettingOptionsPage.xaml b/Wino.Mail/Views/Settings/SettingOptionsPage.xaml index 1d764102..3d3c3887 100644 --- a/Wino.Mail/Views/Settings/SettingOptionsPage.xaml +++ b/Wino.Mail/Views/Settings/SettingOptionsPage.xaml @@ -19,7 +19,6 @@ IsClickEnabled="True" Command="{x:Bind ViewModel.GoAccountSettingsCommand}" Header="{x:Bind domain:Translator.SettingsManageAccountSettings_Title}" - CommandParameter="{x:Bind enums:WinoPage.AccountManagementPage}" Description="{x:Bind domain:Translator.SettingsManageAccountSettings_Description}">