Revert everything back. Mission failed.

This commit is contained in:
Burak Kaan Köse
2024-07-20 04:16:45 +02:00
parent e04c17d591
commit 2d6155ae6f
381 changed files with 3246 additions and 292 deletions

File diff suppressed because one or more lines are too long

View 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());
}
}
}
}

File diff suppressed because one or more lines are too long

View 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;
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
using Wino.Views.Abstract;
namespace Wino.Views.Account
{
public sealed partial class MergedAccountDetailsPage : MergedAccountDetailsPageAbstract
{
public MergedAccountDetailsPage()
{
InitializeComponent();
}
}
}