mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-12 11:24:08 +00:00
Merge latest main into 2.0.0-beta.2
This commit is contained in:
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),
|
||||
|
||||
Reference in new issue
Block a user