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 6d9431f..3ccf9cd 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 @@ -33,9 +33,7 @@ class NotificationSettingDialog extends StatelessWidget { PermissionStatus status = await Permission.notification.status; if (status != PermissionStatus.granted) { - return await showCupertinoDialog( - context: context, builder: (_) => NotificationSettingDialog(model)); - + await Permission.notification.request(); } } }