浏览代码

1.修改通知权限开启

tags/0.0.12+8
“yanghuaxuan” 3 年前
父节点
当前提交
3068ba7bd4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      lib/dialog/global_dialog/notification_setting_dialog/notification_setting_dialog.dart

+ 1
- 1
lib/dialog/global_dialog/notification_setting_dialog/notification_setting_dialog.dart 查看文件

@@ -28,7 +28,7 @@ class NotificationSettingDialog extends StatelessWidget {
Map<String, dynamic>.from(convert.jsonDecode(modListData));
NotificationSettingModel model = NotificationSettingModel.fromJson(Map<String, dynamic>.from(da));

return await showCupertinoDialog(
await showCupertinoDialog(
context: context, builder: (_) => NotificationSettingDialog(model));

PermissionStatus status = await Permission.notification.status;


正在加载...
取消
保存