Ground work for Wino Calendar. (#475)

Wino Calendar abstractions.
This commit is contained in:
Burak Kaan Köse
2024-11-10 23:28:25 +01:00
committed by GitHub
parent a979e8430f
commit d1d6f12f05
486 changed files with 7969 additions and 2708 deletions

View File

@@ -6,17 +6,18 @@ using Wino.Core.Domain.Models.Navigation;
namespace Wino.Mail.ViewModels
{
public partial class WelcomePageViewModel : BaseViewModel
public partial class WelcomePageViewModel : MailBaseViewModel
{
public const string VersionFile = "190.md";
private readonly IMailDialogService _dialogService;
private readonly IFileService _fileService;
[ObservableProperty]
private string currentVersionNotes;
public WelcomePageViewModel(IDialogService dialogService, IFileService fileService) : base(dialogService)
public WelcomePageViewModel(IMailDialogService dialogService, IFileService fileService)
{
_dialogService = dialogService;
_fileService = fileService;
}
@@ -30,7 +31,7 @@ namespace Wino.Mail.ViewModels
}
catch (Exception)
{
DialogService.InfoBarMessage(Translator.GeneralTitle_Error, "Can't find the patch notes.", Core.Domain.Enums.InfoBarMessageType.Information);
_dialogService.InfoBarMessage(Translator.GeneralTitle_Error, "Can't find the patch notes.", Core.Domain.Enums.InfoBarMessageType.Information);
}
}
}