Skip to content

Commit 21b61cc

Browse files
committed
fix: add state to pending task in downloads
1 parent 3b637d4 commit 21b61cc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

TelegramDownloader/Models/DownloadModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,9 @@ public void Pause()
232232

233233
public void RetryCallback()
234234
{
235+
state = StateTask.Working;
235236
startDate = DateTime.Now;
237+
EventChanged?.Invoke(this, new DownloadEventArgs());
236238
callbacks.callback.Invoke();
237239
}
238240
}

0 commit comments

Comments
 (0)