mirror of
https://github.com/XFox111/GUTSchedule.git
synced 2026-04-22 06:58:01 +03:00
Updated version displaying on UWP
This commit is contained in:
@@ -31,7 +31,7 @@ namespace GUTSchedule.UWP
|
||||
try
|
||||
{
|
||||
PackageVersion ver = Package.Current.Id.Version;
|
||||
version.Text = $"v{ver.Major}{ver.Minor}.{ver.Revision} (ci-id #{ver.Build})";
|
||||
version.Text = $"v{ver.Major}{(ver.Minor < 1000 ? "0" + ver.Minor : ver.Minor.ToString())}.{ver.Revision} (ci-id #{ver.Build})";
|
||||
|
||||
authorize.IsChecked = (bool?)settings.Values["Authorize"] ?? true;
|
||||
if (vault.RetrieveAll() is IReadOnlyList<PasswordCredential> credentials && credentials.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user