Removal of Bindings

This commit is contained in:
Burak Kaan Köse
2025-11-16 00:23:23 +01:00
parent a2c7e5f29a
commit 07aeaf8c8f
217 changed files with 234 additions and 22608 deletions
@@ -1,3 +1,6 @@
using CommunityToolkit.WinUI.Controls;
using Microsoft.UI.Xaml;
using Wino.Mail.ViewModels.Data;
using Wino.Views.Abstract;
@@ -9,4 +12,20 @@ public sealed partial class MergedAccountDetailsPage : MergedAccountDetailsPageA
{
InitializeComponent();
}
private void UnlinkAccount_Click(object sender, RoutedEventArgs e)
{
if (sender is SettingsCard card && card.CommandParameter is AccountProviderDetailViewModel account)
{
ViewModel.UnlinkAccountCommand.Execute(account);
}
}
private void LinkAccount_Click(object sender, RoutedEventArgs e)
{
if (sender is SettingsCard card && card.CommandParameter is AccountProviderDetailViewModel account)
{
ViewModel.LinkAccountCommand.Execute(account);
}
}
}