瀏覽代碼

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;


Loading…
取消
儲存