From 26a4d851cdf8d0bf34ffb0038e215851dd4fcfa0 Mon Sep 17 00:00:00 2001 From: Anna Date: Wed, 25 Oct 2023 09:32:35 -0400 Subject: [PATCH] fix: set progress correctly when removing old files --- DownloadTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DownloadTask.cs b/DownloadTask.cs index de5aa76..b72fc31 100644 --- a/DownloadTask.cs +++ b/DownloadTask.cs @@ -598,7 +598,7 @@ private void RemoveOldFiles(IDownloadTask_GetVersion info) { File.Delete(extraPath); done += 1; - this.SetStateData(done, 1); + this.SetStateData(done, total); } } }