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

@@ -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}',