fix changelog loading

This commit is contained in:
IsWaffle 2024-06-29 11:34:04 -04:00
parent 469f74ee6c
commit f8e4a668ff

View File

@ -9,9 +9,21 @@ namespace SPTInstaller.Models;
public class InstallerUpdateInfo : ReactiveObject public class InstallerUpdateInfo : ReactiveObject
{ {
public Version? NewVersion { get; private set; } private Version? _newVersion;
public string ChangeLog { get; private set; }= ""; public Version? NewVersion
{
get => _newVersion;
set => this.RaiseAndSetIfChanged(ref _newVersion, value);
}
private string _changeLog;
public string ChangeLog
{
get => _changeLog;
set => this.RaiseAndSetIfChanged(ref _changeLog, value);
}
private string _updateInfoText = ""; private string _updateInfoText = "";