Outlook auth fix and actually syncing.

This commit is contained in:
Burak Kaan Köse
2025-10-06 17:46:00 +02:00
parent 9623c2e6d2
commit 309e891594
14 changed files with 85 additions and 22 deletions
@@ -37,6 +37,11 @@ public class DialogServiceBase : IDialogServiceBase
ApplicationResourceManager = applicationResourceManager;
}
protected XamlRoot GetXamlRoot()
{
return WinoApplication.MainWindow?.Content?.XamlRoot;
}
public async Task<string> PickFilePathAsync(string saveFileName)
{
var picker = new FolderPicker()
@@ -122,7 +127,8 @@ public class DialogServiceBase : IDialogServiceBase
{
return new AccountCreationDialog
{
RequestedTheme = ThemeService.RootTheme.ToWindowsElementTheme()
RequestedTheme = ThemeService.RootTheme.ToWindowsElementTheme(),
XamlRoot = GetXamlRoot()
};
}
@@ -195,6 +201,8 @@ public class DialogServiceBase : IDialogServiceBase
try
{
dialog.XamlRoot = GetXamlRoot();
return await dialog.ShowAsync();
}
catch (Exception ex)