fix(flutter): keep waiting task progress static

This commit is contained in:
Levi committed 2026-09-14 10:02:19 +08:00
1 parent cee5f3336e
commit e358123b22
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);