From 2c0b911aeb072d75888970089861f4be9bb8f561 Mon Sep 17 00:00:00 2001 From: czz <862977248@qq.com> Date: Wed, 10 Sep 2025 15:23:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9D=A1=E7=9C=A0=E6=95=B0=E6=8D=AE=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=A1=86=E7=9A=84=E9=A2=9C=E8=89=B2=E6=B7=B7=E4=B9=B1?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/TrendDataTablePage.dart | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/pages/sleep_report/component/TrendDataTablePage.dart b/lib/pages/sleep_report/component/TrendDataTablePage.dart index 435f783..04e9845 100644 --- a/lib/pages/sleep_report/component/TrendDataTablePage.dart +++ b/lib/pages/sleep_report/component/TrendDataTablePage.dart @@ -56,7 +56,7 @@ class _TrendDataTablePageState extends State { 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 { ], ); } 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(