Skip to content

Commit

Permalink
fix: Fixed missing check for Options.ShowDownload.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Jan 2, 2024
1 parent a2b5843 commit 7291c31
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public void OnStateUpdate(InstallState state)
case InstallStatus.Canceled:
break;

case InstallStatus.Downloading:
case InstallStatus.Downloading
when Handler.Options.ShowDownload:
{
var bytesDownloaded = state.BytesDownloaded();
var totalBytesToDownload = state.TotalBytesToDownload() + 1;
Expand Down

0 comments on commit 7291c31

Please sign in to comment.