From 143e7634d95505478ba2399db57e71782b9faf18 Mon Sep 17 00:00:00 2001 From: czz <862977248@qq.com> Date: Mon, 7 Jul 2025 17:06:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=8A=A5=E5=91=A8=E6=8A=A5=E6=9C=88?= =?UTF-8?q?=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../device_bind/componnet/bind_dialog.dart | 2 +- .../component/SleepChartWidget.dart | 23 +++++++++---------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/lib/pages/device_bind/componnet/bind_dialog.dart b/lib/pages/device_bind/componnet/bind_dialog.dart index 090182c..8d7ce1b 100644 --- a/lib/pages/device_bind/componnet/bind_dialog.dart +++ b/lib/pages/device_bind/componnet/bind_dialog.dart @@ -922,7 +922,7 @@ Future showTipDialog( Color? backgroundColor, }) { ThemeController themeController = Get.find(); - BlueteethBindController blueteethBindController = Get.find(); + // BlueteethBindController blueteethBindController = Get.find(); return showDialog( context: context, diff --git a/lib/pages/sleep_report/component/SleepChartWidget.dart b/lib/pages/sleep_report/component/SleepChartWidget.dart index 5b0fc3c..2744a72 100644 --- a/lib/pages/sleep_report/component/SleepChartWidget.dart +++ b/lib/pages/sleep_report/component/SleepChartWidget.dart @@ -27,7 +27,6 @@ class SleepChartContainer extends StatelessWidget { @override Widget build(BuildContext context) { - return Container( width: double.infinity, decoration: BoxDecoration( @@ -50,18 +49,18 @@ class SleepChartContainer extends StatelessWidget { ), GestureDetector( onTap: () { - showTipDialog( - context, - Container( - child: Text( - tipText, - style: TextStyle( - fontSize: 26.rpx, - color: themeController.currentColor.sc3, - ), - ), + showTipDialog( + context, + Container( + child: Text( + tipText, + style: TextStyle( + fontSize: 26.rpx, + color: themeController.currentColor.sc3, ), - ); + ), + ), + ); }, child: Container( width: 30.rpx,