mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-01-31 13:25:10 +01:00
opt.: docker rm container -f & font setting item
This commit is contained in:
@@ -24,7 +24,7 @@ Future<String?> getToken() async {
|
||||
}
|
||||
|
||||
String? getFileName(String? path) {
|
||||
if (path == null) {
|
||||
if (path == null || path.isEmpty) {
|
||||
return null;
|
||||
}
|
||||
return path.split('/').last;
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 685;
|
||||
static const int build = 686;
|
||||
static const String engine = "3.16.4";
|
||||
static const String buildAt = "2023-12-20 14:09:17";
|
||||
static const int modifications = 4;
|
||||
static const int script = 32;
|
||||
static const String buildAt = "2023-12-20 17:26:32";
|
||||
static const int modifications = 2;
|
||||
static const int script = 33;
|
||||
}
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
"followSystem": "System verfolgen",
|
||||
"font": "Schriftarten",
|
||||
"fontSize": "Schriftgröße",
|
||||
"force": "freiwillig",
|
||||
"foundNUpdate": "Update {count} gefunden",
|
||||
"fullScreen": "Vollbildmodus",
|
||||
"fullScreenJitter": "Jitter im Vollbildmodus",
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
"followSystem": "Follow system",
|
||||
"font": "Font",
|
||||
"fontSize": "Font size",
|
||||
"force": "Force",
|
||||
"foundNUpdate": "Found {count} update",
|
||||
"fullScreen": "Full screen mode",
|
||||
"fullScreenJitter": "Full screen jitter",
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
"followSystem": "Ikuti sistem",
|
||||
"font": "Font",
|
||||
"fontSize": "Ukuran huruf",
|
||||
"force": "sukarela",
|
||||
"foundNUpdate": "Menemukan {count} pembaruan",
|
||||
"fullScreen": "Mode Layar Penuh",
|
||||
"fullScreenJitter": "Jitter layar penuh",
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
"followSystem": "跟随系统",
|
||||
"font": "字体",
|
||||
"fontSize": "字体大小",
|
||||
"force": "强制",
|
||||
"foundNUpdate": "找到 {count} 个更新",
|
||||
"fullScreen": "全屏模式",
|
||||
"fullScreenJitter": "全屏模式抖动",
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
"followSystem": "跟隨系統",
|
||||
"font": "字體",
|
||||
"fontSize": "字體大小",
|
||||
"force": "強制",
|
||||
"foundNUpdate": "找到 {count} 個更新",
|
||||
"fullScreen": "全屏模式",
|
||||
"fullScreenJitter": "全屏模式抖動",
|
||||
|
||||
@@ -365,16 +365,25 @@ class _DockerManagePageState extends State<DockerManagePage> {
|
||||
context.showRoundDialog(
|
||||
title: Text(l10n.attention),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Text(l10n.askContinue(
|
||||
'${l10n.delete} Container(${dItem.name})',
|
||||
)),
|
||||
StatefulBuilder(builder: (_, setState) {
|
||||
return Checkbox(
|
||||
value: force,
|
||||
onChanged: (val) => setState(() => force = val ?? false),
|
||||
);
|
||||
}),
|
||||
UIs.height13,
|
||||
Row(
|
||||
children: [
|
||||
StatefulBuilder(builder: (_, setState) {
|
||||
return Checkbox(
|
||||
value: force,
|
||||
onChanged: (val) => setState(
|
||||
() => force = val ?? false,
|
||||
),
|
||||
);
|
||||
}),
|
||||
Text(l10n.force),
|
||||
],
|
||||
)
|
||||
],
|
||||
),
|
||||
actions: [
|
||||
|
||||
@@ -641,11 +641,16 @@ class _ServerDetailPageState extends State<ServerDetailPage>
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('${battery.name}', style: UIs.text15),
|
||||
Text('${battery.status.name} - ${battery.cycle} - ${battery.powerNow}', style: UIs.text13Grey),
|
||||
Text(
|
||||
'${battery.status.name} - ${battery.cycle} - ${battery.powerNow}',
|
||||
style: UIs.text13Grey,
|
||||
),
|
||||
],
|
||||
),
|
||||
Text('${battery.percent?.toStringAsFixed(0)}%',
|
||||
style: UIs.text13Grey),
|
||||
Text(
|
||||
'${battery.percent?.toStringAsFixed(0)}%',
|
||||
style: UIs.text13Grey,
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user