From abe4cba09901dbbf017a8d23d14faafa93b8f933 Mon Sep 17 00:00:00 2001 From: GlowPuff Date: Wed, 29 May 2024 22:08:13 -0400 Subject: [PATCH] bump version, move app version string property to Utils.cs --- AppModels/ProjectListData.cs | 4 ++-- Models/Utils.cs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AppModels/ProjectListData.cs b/AppModels/ProjectListData.cs index dff7540..bf515c6 100644 --- a/AppModels/ProjectListData.cs +++ b/AppModels/ProjectListData.cs @@ -1,12 +1,12 @@ using System.Collections.ObjectModel; using CommunityToolkit.Mvvm.ComponentModel; +using Imperial_Commander_Editor; namespace Saga_Translator_V2 { public class ProjectListData : ObservableObject { - private string _version = "Version: 3.0"; - public string version { get => _version; set => SetProperty( ref _version, value ); } + public string version { get => Utils.appVersionString; } public ObservableCollection projectListItems { get; set; } diff --git a/Models/Utils.cs b/Models/Utils.cs index b86fc58..c126bef 100644 --- a/Models/Utils.cs +++ b/Models/Utils.cs @@ -7,6 +7,7 @@ namespace Imperial_Commander_Editor public static class Utils { public const string formatVersion = "22"; + public const string appVersionString = "Version: 3.1"; public static List allyData { get; set; } public static List enemyData { get; set; }//enemies + villains