Merge latest main into 2.0.0-beta.2

This commit is contained in:
Levi committed 2026-09-13 15:30:00 +08:00
commit f3ec6b8ee9
4 files changed
+173 -35

No files matched your search

@@ -95,7 +95,11 @@ class TaskCardFooter extends StatelessWidget {
children: [
Expanded(
child: Text(
task.total != null ? '${task.downloaded} / ${task.total}' : context.l10n.unknownSize,
task.total != null
? '${task.downloaded} / ${task.total}'
: task.downloadedBytes == 0
? context.l10n.unknownSize
: task.downloaded,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(color: leftColor, fontSize: 10, height: 1),