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