Skip to content

Commit

Permalink
fix: set progress correctly when removing old files
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-is-cute committed Oct 25, 2023
1 parent ec4bf6d commit 26a4d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DownloadTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ private void RemoveOldFiles(IDownloadTask_GetVersion info) {
File.Delete(extraPath);

done += 1;
this.SetStateData(done, 1);
this.SetStateData(done, total);
}
}
}
Expand Down

0 comments on commit 26a4d85

Please sign in to comment.