Skip to content

Commit

Permalink
Release preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-knuth committed Dec 3, 2021
1 parent 64b064c commit fc56bf0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Scanner/ViewModels/ShellViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Microsoft.Toolkit.Mvvm.DependencyInjection;
using Microsoft.Toolkit.Mvvm.Input;
using Microsoft.Toolkit.Mvvm.Messaging;
using Microsoft.Toolkit.Uwp.Helpers;
using Scanner.Services;
using Scanner.Services.Messenger;
using System;
Expand Down Expand Up @@ -302,8 +303,8 @@ private void ViewLoaded()
if ((bool)SettingsService.GetSetting(AppSetting.SetupCompleted) == true
&& (bool)SettingsService.GetSetting(AppSetting.IsFirstAppLaunchEver) == false
&& (bool)SettingsService.GetSetting(AppSetting.IsFirstAppLaunchWithThisVersion) == true
&& (string)SettingsService.GetSetting(AppSetting.LastKnownVersion) != "Version 3.0.0.0"
&& (string)SettingsService.GetSetting(AppSetting.LastKnownVersion) != "Version 3.0.1.0")
&& SystemInformation.Instance.PreviousVersionInstalled.ToFormattedString() != "3.0.0.0"
&& SystemInformation.Instance.PreviousVersionInstalled.ToFormattedString() != "3.0.1.0")
{
ChangelogRequested?.Invoke(this, EventArgs.Empty);
}
Expand Down

0 comments on commit fc56bf0

Please sign in to comment.