Implementing themes for Calendar.

This commit is contained in:
Burak Kaan Köse
2024-12-28 20:42:03 +01:00
parent 5f1d411b28
commit 95b8f54b27
25 changed files with 353 additions and 230 deletions

View File

@@ -18,7 +18,7 @@ namespace Wino.Core.ViewModels
public IStatePersistanceService StatePersistenceService { get; }
public IPreferencesService PreferencesService { get; }
private readonly IMailDialogService _dialogService;
private readonly IDialogServiceBase _dialogService;
private readonly IThemeService _themeService;
private bool isPropChangeDisabled = false;
@@ -128,17 +128,18 @@ namespace Wino.Core.ViewModels
}
public AsyncRelayCommand CreateCustomThemeCommand { get; set; }
public PersonalizationPageViewModel(IMailDialogService dialogService,
public PersonalizationPageViewModel(IDialogServiceBase dialogService,
IStatePersistanceService statePersistanceService,
IThemeService themeService,
IPreferencesService preferencesService)
{
CreateCustomThemeCommand = new AsyncRelayCommand(CreateCustomThemeAsync);
_dialogService = dialogService;
StatePersistenceService = statePersistanceService;
_themeService = themeService;
StatePersistenceService = statePersistanceService;
PreferencesService = preferencesService;
CreateCustomThemeCommand = new AsyncRelayCommand(CreateCustomThemeAsync);
}
private async Task CreateCustomThemeAsync()