mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-22 21:03:42 +08:00
fix status
This commit is contained in:
parent
f4f14655d5
commit
bdf4026e91
@ -237,13 +237,15 @@ class HomeUI extends BaseUI<HomeUIModel> {
|
||||
item["status"] == "ok"
|
||||
? FontAwesomeIcons.circleCheck
|
||||
: FluentIcons.error,
|
||||
color: item["status"] == "ok"
|
||||
color: (item["status"] ==
|
||||
"operational" ||
|
||||
item["status"] == "ok")
|
||||
? Colors.green
|
||||
: Colors.red,
|
||||
size: 20,
|
||||
size: 18,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
const SizedBox(width: 3),
|
||||
Text(
|
||||
"${model.statusCnName[item["name"]] ?? item["name"]}",
|
||||
style: const TextStyle(fontSize: 13),
|
||||
|
@ -55,6 +55,7 @@ class HomeUIModel extends BaseUIModel {
|
||||
"Platform": "平台",
|
||||
"Persistent Universe": "持续宇宙",
|
||||
"Electronic Access": "电子访问",
|
||||
"Arena Commander": "竞技场指挥官"
|
||||
};
|
||||
|
||||
bool isRsiLauncherStarting = false;
|
||||
|
Loading…
Reference in New Issue
Block a user