Skip to content

Commit

Permalink
fixes Release Notes button
Browse files Browse the repository at this point in the history
Release Notes button was greyed out when checking updates on startup is enabled
  • Loading branch information
A-tG committed Apr 13, 2023
1 parent 2e9a2f8 commit 227eb1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ private State CurrentState
ButtonText = "Connecting...";
break;
case State.NewVersionFound:
IsRelNotesEnabled = true;
#if DEBUG
InfoText = $"Version available: {UpdateManager.LatestVersion}";
#else
Expand Down Expand Up @@ -233,7 +234,6 @@ private void HandleUpdaterRes(UpdaterResult res)
return;
case UpdaterResult.NewVersionFound:
CurrentState = State.NewVersionFound;
IsRelNotesEnabled = true;
return;
case UpdaterResult.VersionUpToDate:
InfoText = "You're running the latest version";
Expand Down

0 comments on commit 227eb1a

Please sign in to comment.