mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 05:49:03 +08:00
Change separator
This commit is contained in:
@@ -169,10 +169,15 @@ class _TaskPage extends State<TaskPage> {
|
||||
),
|
||||
Row(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [
|
||||
Expanded(
|
||||
child: FitText(texts: [
|
||||
(i18n.downloadedSize(getFileSize(p.downloadedBytes)), 0),
|
||||
("${p.downloadedPage}/${p.totalPage}", 1)
|
||||
], overflow: TextOverflow.ellipsis, maxLines: 1)),
|
||||
child: FitText(
|
||||
texts: [
|
||||
(i18n.downloadedSize(getFileSize(p.downloadedBytes)), 0),
|
||||
("${p.downloadedPage}/${p.totalPage}", 1)
|
||||
],
|
||||
overflow: TextOverflow.ellipsis,
|
||||
separator: i18n.comma,
|
||||
maxLines: 1,
|
||||
)),
|
||||
Text("${getFileSize((speed * 1000).toInt())}/s"),
|
||||
]),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user