fix 性能优化 自定义

This commit is contained in:
xkeyC 2024-01-30 21:59:34 +08:00
parent b3a1014964
commit 70437887b0

View File

@ -243,15 +243,16 @@ class PerformanceUI extends BaseUI<PerformanceUIModel> {
), ),
], ],
const SizedBox(height: 12), const SizedBox(height: 12),
Row( if (item.type != "customize")
mainAxisAlignment: MainAxisAlignment.end, Row(
children: [ mainAxisAlignment: MainAxisAlignment.end,
Text( children: [
"${item.key} 最小值: ${item.min} / 最大值: ${item.max}", Text(
style: TextStyle(color: Colors.white.withOpacity(.6)), "${item.key} 最小值: ${item.min} / 最大值: ${item.max}",
) style: TextStyle(color: Colors.white.withOpacity(.6)),
], )
), ],
),
const SizedBox(height: 6), const SizedBox(height: 6),
Container( Container(
color: FluentTheme.of(context).cardColor.withOpacity(.1), color: FluentTheme.of(context).cardColor.withOpacity(.1),