mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-14 20:33:41 +00:00
Merge PR #1516 into 2.0.0-beta.2
This commit is contained in:
commit
273850ae3f
4 files changed
+4
-4
No files matched your search
@@ -225,7 +225,7 @@ class _ProgressContent extends StatelessWidget {
|
||||
fillColor: fillColor,
|
||||
highlightStartColor: fillColor,
|
||||
highlightEndColor: fillColor,
|
||||
shimmer: task.status == TaskStatus.downloading,
|
||||
shimmer: task.status == TaskStatus.downloading && !task.waiting,
|
||||
),
|
||||
const SizedBox(height: 6),
|
||||
TaskCardFooter(task: task, isError: isError),
|
||||
|
||||
@@ -149,7 +149,7 @@ class _TaskCardMobileState extends State<TaskCardMobile> {
|
||||
fillColor: fillColor,
|
||||
highlightStartColor: fillColor,
|
||||
highlightEndColor: fillColor,
|
||||
shimmer: task.status == TaskStatus.downloading,
|
||||
shimmer: task.status == TaskStatus.downloading && !task.waiting,
|
||||
),
|
||||
const SizedBox(height: 6),
|
||||
TaskCardFooter(task: task, isError: task.status == TaskStatus.failed),
|
||||
|
||||
@@ -145,7 +145,7 @@ class _TaskDownloadProgress extends StatelessWidget {
|
||||
key: const ValueKey('task-files-total-progress'),
|
||||
value: progress,
|
||||
indeterminate: runtime == null && task.isIndeterminate,
|
||||
shimmer: task.status == TaskStatus.downloading,
|
||||
shimmer: task.status == TaskStatus.downloading && !task.waiting,
|
||||
height: 4,
|
||||
trackColor: palette.progressTrack,
|
||||
fillColor: palette.brandProgress,
|
||||
|
||||
Reference in new issue
Block a user