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,