From f8e4a668ff1bb8cea03daefc013d351682cb652f Mon Sep 17 00:00:00 2001 From: "waffle.lord" Date: Sat, 29 Jun 2024 11:34:04 -0400 Subject: [PATCH] fix changelog loading --- SPTInstaller/Models/InstallerUpdateInfo.cs | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/SPTInstaller/Models/InstallerUpdateInfo.cs b/SPTInstaller/Models/InstallerUpdateInfo.cs index 813f7e7..0fbfb94 100644 --- a/SPTInstaller/Models/InstallerUpdateInfo.cs +++ b/SPTInstaller/Models/InstallerUpdateInfo.cs @@ -9,9 +9,21 @@ namespace SPTInstaller.Models; 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 = "";