mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 04:13:43 +08:00
fix 下载百分比
This commit is contained in:
parent
a6664f750d
commit
5b13996591
@ -17,9 +17,9 @@ import 'package:uuid/uuid.dart';
|
||||
import 'package:window_manager/window_manager.dart';
|
||||
|
||||
class AppConf {
|
||||
static const String appVersion = "2.10.5+1 Beta";
|
||||
static const String appVersion = "2.10.6 Beta";
|
||||
static const int appVersionCode = 40;
|
||||
static const String appVersionDate = "2024-02-17";
|
||||
static const String appVersionDate = "2024-02-24";
|
||||
|
||||
static const gameChannels = ["LIVE", "PTU", "EPTU"];
|
||||
|
||||
|
@ -129,7 +129,7 @@ class DownloadsUI extends BaseUI<DownloadsUIModel> {
|
||||
)
|
||||
else if (task.status == "active")
|
||||
Text(
|
||||
"下载中... (${((task.completedLength ?? 0) / (task.totalLength ?? 1)).toStringAsFixed(4)}%)")
|
||||
"下载中... (${((task.completedLength ?? 0) * 100 / (task.totalLength ?? 1)).toStringAsFixed(4)}%)")
|
||||
else
|
||||
Text(
|
||||
"状态:${model.statusMap[task.status]}",
|
||||
|
Loading…
Reference in New Issue
Block a user