From 70437887b0d6d52eb88949ac40f99b1fc9bfa9b3 Mon Sep 17 00:00:00 2001 From: xkeyC <3334969096@qq.com> Date: Tue, 30 Jan 2024 21:59:34 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=80=A7=E8=83=BD=E4=BC=98=E5=8C=96=20?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ui/home/performance/performance_ui.dart | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/ui/home/performance/performance_ui.dart b/lib/ui/home/performance/performance_ui.dart index a7ba3ba..cf6f45b 100644 --- a/lib/ui/home/performance/performance_ui.dart +++ b/lib/ui/home/performance/performance_ui.dart @@ -243,15 +243,16 @@ class PerformanceUI extends BaseUI { ), ], const SizedBox(height: 12), - Row( - mainAxisAlignment: MainAxisAlignment.end, - children: [ - Text( - "${item.key} 最小值: ${item.min} / 最大值: ${item.max}", - style: TextStyle(color: Colors.white.withOpacity(.6)), - ) - ], - ), + if (item.type != "customize") + Row( + mainAxisAlignment: MainAxisAlignment.end, + children: [ + Text( + "${item.key} 最小值: ${item.min} / 最大值: ${item.max}", + style: TextStyle(color: Colors.white.withOpacity(.6)), + ) + ], + ), const SizedBox(height: 6), Container( color: FluentTheme.of(context).cardColor.withOpacity(.1),