App version to constants

This commit is contained in:
2026-02-17 09:19:16 +09:00
parent 4f16b09612
commit cf67eae49d
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class MainViewModel : BaseViewModel, IFontResolver
var quotes = Constants.GetQuotes();
Random random = new Random();
var quoteIndex = random.Next(0, quotes.Length);
_createPDFLog = "----- Receipt PDF Builder v1.0.0 ------" + Environment.NewLine;
_createPDFLog = "----- Receipt PDF Builder v" + Constants.AppVersion + "------" + Environment.NewLine;
_createPDFLog += quotes[quoteIndex] + Environment.NewLine;
_createPDFLog += "---------------------------------------" + Environment.NewLine;
_createPDFLog += "Ready to create PDF!";