Revert everything back. Mission failed.
This commit is contained in:
213
Wino.Mail/Views/Account/AccountDetailsPage.xaml
Normal file
213
Wino.Mail/Views/Account/AccountDetailsPage.xaml
Normal file
File diff suppressed because one or more lines are too long
37
Wino.Mail/Views/Account/AccountDetailsPage.xaml.cs
Normal file
37
Wino.Mail/Views/Account/AccountDetailsPage.xaml.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using Wino.Core.Domain.Models.Folders;
|
||||
using Wino.Views.Abstract;
|
||||
|
||||
#if NET8_0
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
using Microsoft.UI.Xaml;
|
||||
#else
|
||||
using Windows.UI.Xaml.Controls;
|
||||
using Windows.UI.Xaml;
|
||||
#endif
|
||||
|
||||
namespace Wino.Views
|
||||
{
|
||||
public sealed partial class AccountDetailsPage : AccountDetailsPageAbstract
|
||||
{
|
||||
public AccountDetailsPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private async void SyncFolderToggled(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (sender is CheckBox checkBox && checkBox.Tag is IMailItemFolder folder)
|
||||
{
|
||||
await ViewModel.FolderSyncToggledAsync(folder, checkBox.IsChecked.GetValueOrDefault());
|
||||
}
|
||||
}
|
||||
|
||||
private async void UnreadBadgeCheckboxToggled(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (sender is CheckBox checkBox && checkBox.Tag is IMailItemFolder folder)
|
||||
{
|
||||
await ViewModel.FolderShowUnreadToggled(folder, checkBox.IsChecked.GetValueOrDefault());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
273
Wino.Mail/Views/Account/AccountManagementPage.xaml
Normal file
273
Wino.Mail/Views/Account/AccountManagementPage.xaml
Normal file
File diff suppressed because one or more lines are too long
20
Wino.Mail/Views/Account/AccountManagementPage.xaml.cs
Normal file
20
Wino.Mail/Views/Account/AccountManagementPage.xaml.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Wino.Views.Abstract;
|
||||
|
||||
#if NET8_0
|
||||
using Microsoft.UI.Xaml.Navigation;
|
||||
#else
|
||||
using Windows.UI.Xaml.Navigation;
|
||||
#endif
|
||||
|
||||
namespace Wino.Views
|
||||
{
|
||||
public sealed partial class AccountManagementPage : AccountManagementPageAbstract
|
||||
{
|
||||
public AccountManagementPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
NavigationCacheMode = NavigationCacheMode.Enabled;
|
||||
}
|
||||
}
|
||||
}
|
||||
169
Wino.Mail/Views/Account/MergedAccountDetailsPage.xaml
Normal file
169
Wino.Mail/Views/Account/MergedAccountDetailsPage.xaml
Normal file
File diff suppressed because one or more lines are too long
12
Wino.Mail/Views/Account/MergedAccountDetailsPage.xaml.cs
Normal file
12
Wino.Mail/Views/Account/MergedAccountDetailsPage.xaml.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Wino.Views.Abstract;
|
||||
|
||||
namespace Wino.Views.Account
|
||||
{
|
||||
public sealed partial class MergedAccountDetailsPage : MergedAccountDetailsPageAbstract
|
||||
{
|
||||
public MergedAccountDetailsPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user