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

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