1
0
mirror of https://github.com/XFox111/GUTSchedule.git synced 2026-04-22 06:58:01 +03:00

Version display updated for UWP

This commit is contained in:
Michael Gordeev
2020-03-14 17:31:30 +03:00
parent 3acc83fb57
commit b4bf453e4c
3 changed files with 3 additions and 3 deletions
@@ -32,7 +32,7 @@ namespace GUTSchedule.UWP.Pages
try
{
PackageVersion ver = Package.Current.Id.Version;
version.Text = $"v{ver.Major}{(ver.Minor < 1000 ? "0" + ver.Minor : ver.Minor.ToString())}.{ver.Revision} (ci-id #{ver.Build})";
version.Text = $"v{ver.Major}.{ver.Minor}.{ver.Build}.{ver.Revision}";
authorize.IsChecked = (bool?)settings.Values["Authorize"] ?? true;
if (vault.RetrieveAll() is IReadOnlyList<PasswordCredential> credentials && credentials.Count > 0)