Skip to content

Commit

Permalink
Fix crash on update modal show (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonko0493 authored Apr 12, 2023
1 parent 5aec136 commit 19bdee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SerialLoops/Utility/UpdateChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public async void Check()

_logger.Log($"An update for Serial Loops is available! ({version})");
UpdateAvailableDialog updateDisplay = new(_mainForm, version, assets, url, changelog);
updateDisplay.ShowModal(_mainForm);
updateDisplay.ShowModal();
}

private async Task<(string, string, JsonArray, string)> GetLatestVersion(string currentVersion)
Expand Down

0 comments on commit 19bdee6

Please sign in to comment.