From 3068ba7bd4588a3f43cd67b5e6af2e857c624bdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cyanghuaxuan=E2=80=9D?= <“646903573@qq.com”> Date: Tue, 13 Apr 2021 18:01:28 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E9=80=9A=E7=9F=A5=E6=9D=83?= =?UTF-8?q?=E9=99=90=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../notification_setting_dialog.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dialog/global_dialog/notification_setting_dialog/notification_setting_dialog.dart b/lib/dialog/global_dialog/notification_setting_dialog/notification_setting_dialog.dart index 1a14647..6d9431f 100644 --- a/lib/dialog/global_dialog/notification_setting_dialog/notification_setting_dialog.dart +++ b/lib/dialog/global_dialog/notification_setting_dialog/notification_setting_dialog.dart @@ -28,7 +28,7 @@ class NotificationSettingDialog extends StatelessWidget { Map.from(convert.jsonDecode(modListData)); NotificationSettingModel model = NotificationSettingModel.fromJson(Map.from(da)); - return await showCupertinoDialog( + await showCupertinoDialog( context: context, builder: (_) => NotificationSettingDialog(model)); PermissionStatus status = await Permission.notification.status;