Przeglądaj źródła

1.修改通知权限开启

tags/0.0.12+8
“yanghuaxuan” 3 lat temu
rodzic
commit
3068ba7bd4
1 zmienionych plików z 1 dodań i 1 usunięć
  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 Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz