Quellcode durchsuchen

1.修改通知权限开启

tags/0.0.12+8
“yanghuaxuan” vor 3 Jahren
Ursprung
Commit
3068ba7bd4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 Datei anzeigen

@@ -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;


Laden…
Abbrechen
Speichern