fix(flutter): keep waiting task progress static (#1516)

This commit is contained in:
Levi authored and GitHub committed 2026-09-16 00:39:18 +08:00
1 parent c667f097dc
commit e99ef6c7f4
4 files changed
+4 -4

No files matched your search

@@ -110,7 +110,7 @@ class TaskRecord {
bool get canUpdateUrl =>
protocol == api_task.Protocol.http && (status == TaskStatus.paused || status == TaskStatus.failed);
bool get isIndeterminate => status == TaskStatus.downloading && total == null;
bool get isIndeterminate => status == TaskStatus.downloading && !waiting && total == null;
TaskAssetType get assetType => _assetType(name, isFolder: isFolder, protocol: protocol);