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