更新睡眠报告
This commit is contained in:
@@ -862,9 +862,11 @@ void showWifiDialog(
|
||||
|
||||
void showTipDialog(
|
||||
BuildContext context,
|
||||
Widget widget,
|
||||
// String title,
|
||||
) {
|
||||
Widget widget, {
|
||||
Color? backgroundColor, // 新增可选参数
|
||||
}
|
||||
// String title,
|
||||
) {
|
||||
ThemeController themeController = Get.find();
|
||||
BlueteethBindController blueteethBindController = Get.find();
|
||||
|
||||
@@ -877,7 +879,8 @@ void showTipDialog(
|
||||
blurSigma: 3.0,
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
color: themeController.currentColor.sc17,
|
||||
color:
|
||||
backgroundColor ?? themeController.currentColor.sc17, // 使用默认颜色
|
||||
borderRadius: BorderRadius.circular(20.0),
|
||||
),
|
||||
padding: EdgeInsetsDirectional.fromSTEB(64.rpx, 0, 64.rpx, 0),
|
||||
|
||||
Reference in New Issue
Block a user