Linking all views.

This commit is contained in:
Burak Kaan Köse
2024-07-12 21:45:42 +02:00
parent 1ff82e62ff
commit ef151aa7a6
96 changed files with 930 additions and 295 deletions

View File

@@ -1,7 +1,14 @@
using Windows.UI.Xaml.Controls;
using Wino.Core.Domain.Models.Folders;
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
@@ -11,7 +18,7 @@ namespace Wino.Views
InitializeComponent();
}
private async void SyncFolderToggled(object sender, Windows.UI.Xaml.RoutedEventArgs e)
private async void SyncFolderToggled(object sender, RoutedEventArgs e)
{
if (sender is CheckBox checkBox && checkBox.Tag is IMailItemFolder folder)
{
@@ -19,7 +26,7 @@ namespace Wino.Views
}
}
private async void UnreadBadgeCheckboxToggled(object sender, Windows.UI.Xaml.RoutedEventArgs e)
private async void UnreadBadgeCheckboxToggled(object sender, RoutedEventArgs e)
{
if (sender is CheckBox checkBox && checkBox.Tag is IMailItemFolder folder)
{

View File

@@ -1,6 +1,10 @@
using System;
using Wino.Views.Abstract;
#if NET8_0
using Microsoft.UI.Xaml.Navigation;
#else
using Windows.UI.Xaml.Navigation;
using Wino.Views.Abstract;
#endif
namespace Wino.Views
{

View File

@@ -1,6 +1,5 @@
using Wino.Views.Abstract;
namespace Wino.Views.Account
{
public sealed partial class MergedAccountDetailsPage : MergedAccountDetailsPageAbstract