fix: gpu view

This commit is contained in:
lollipopkit
2024-01-16 12:06:35 +08:00
parent ee96f2696e
commit a26efc5ca6
3 changed files with 26 additions and 37 deletions

View File

@@ -2,9 +2,9 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 704;
static const int build = 706;
static const String engine = "3.16.7";
static const String buildAt = "2024-01-15 18:40:44";
static const int modifications = 3;
static const String buildAt = "2024-01-16 11:59:10";
static const int modifications = 2;
static const int script = 34;
}

View File

@@ -334,22 +334,11 @@ class _ServerDetailPageState extends State<ServerDetailPage>
}
return ListTile(
title: Text(item.name, style: UIs.text13),
leading: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'${item.percent}%',
style: UIs.text12Grey,
textScaler: _textFactor,
),
const Divider(),
Text(
'${item.temp} °C',
style: UIs.text12Grey,
textScaler: _textFactor,
),
],
leading: Text(
'${item.percent}%\n${item.temp} °C',
style: UIs.text12Grey,
textScaler: _textFactor,
textAlign: TextAlign.center,
),
subtitle: Text(
'${item.power} - ${item.fanSpeed} RPM\n${mem.used} / ${mem.total} ${mem.unit}',