Import functionality for wino accounts, calendar sync UI, bunch of shell improvements
This commit is contained in:
@@ -16,7 +16,6 @@ using Wino.Core.Domain.Interfaces;
|
||||
using Wino.Core.Domain.Models.Accounts;
|
||||
using Wino.Core.Domain.Models.Common;
|
||||
using Wino.Core.Domain.Models.Printing;
|
||||
using Wino.Core.Domain.Models.Updates;
|
||||
using Wino.Dialogs;
|
||||
using Wino.Mail.WinUI.Dialogs;
|
||||
using Wino.Mail.WinUI.Extensions;
|
||||
@@ -31,16 +30,13 @@ public class DialogServiceBase : IDialogServiceBase
|
||||
|
||||
protected INewThemeService ThemeService { get; }
|
||||
protected IConfigurationService ConfigurationService { get; }
|
||||
protected IUpdateManager UpdateManager { get; }
|
||||
|
||||
protected IApplicationResourceManager<ResourceDictionary> ApplicationResourceManager { get; }
|
||||
|
||||
public DialogServiceBase(INewThemeService themeService, IConfigurationService configurationService, IApplicationResourceManager<ResourceDictionary> applicationResourceManager, IUpdateManager updateManager)
|
||||
public DialogServiceBase(INewThemeService themeService, IConfigurationService configurationService, IApplicationResourceManager<ResourceDictionary> applicationResourceManager)
|
||||
{
|
||||
ThemeService = themeService;
|
||||
ConfigurationService = configurationService;
|
||||
ApplicationResourceManager = applicationResourceManager;
|
||||
UpdateManager = updateManager;
|
||||
}
|
||||
|
||||
protected XamlRoot? GetXamlRoot()
|
||||
@@ -392,14 +388,4 @@ public class DialogServiceBase : IDialogServiceBase
|
||||
return null!;
|
||||
}
|
||||
}
|
||||
|
||||
public async Task ShowWhatIsNewDialogAsync(UpdateNotes notes)
|
||||
{
|
||||
var dialog = new WhatIsNewDialog(notes, UpdateManager)
|
||||
{
|
||||
RequestedTheme = ThemeService.RootTheme.ToWindowsElementTheme()
|
||||
};
|
||||
|
||||
await HandleDialogPresentationAsync(dialog);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user