睡眠数据提示框的颜色混乱问题

This commit is contained in:
czz
2025-09-10 15:23:12 +08:00
parent 9f73a8111a
commit 2c0b911aeb

View File

@@ -56,7 +56,7 @@ class _TrendDataTablePageState extends State<TrendDataTablePage> {
14.rpx, 10.rpx, 14.rpx, 10.rpx), //
borderRadius: 0.rpx,
onTap: () {
if (AppConstants().ent_type == APPPackageType.MHT) {
if (AppConstants().ent_type == APPPackageType.MHT.code) {
showTipDialog(
context,
Container(
@@ -76,20 +76,20 @@ class _TrendDataTablePageState extends State<TrendDataTablePage> {
],
);
} else {
showTipDialog(
context,
Container(
child: Text(
widget.tipText,
style: TextStyle(
fontSize: 26.rpx,
color: themeController.currentColor.sc3,
showTipDialog(
context,
Container(
child: Text(
widget.tipText,
style: TextStyle(
fontSize: 26.rpx,
color: themeController.currentColor.sc3,
),
),
),
),
backgroundColor: themeController.currentColor.sc17,
colors: AppConstants().thNormalButton,
);
backgroundColor: themeController.currentColor.sc17,
colors: AppConstants().thNormalButton,
);
}
},
child: Container(