Redid progress calcuation on DownloadNewChaptersTask and DownloadChapterTask

This commit is contained in:
2023-06-10 16:00:16 +02:00
parent c8e27921ab
commit d5c9c5ba96
3 changed files with 2 additions and 23 deletions

View File

@ -35,14 +35,6 @@ public class DownloadChapterTask : TrangaTask
this.parentTask.state = ExecutionState.Waiting;
taskManager.DeleteTask(this);
}
public new float IncrementProgress(float amount)
{
this.progress += amount;
this.lastChange = DateTime.Now;
parentTask?.IncrementProgress(amount);
return this.progress;
}
public override string ToString()
{