anchor.diff:                            ),
                             title: LocaleKeys.wizard_onesignal_allow_title.tr(),
                             value: state.oneSignalAllowed,
  -                          onChanged: (_) {
  -                            context.read<WizardBloc>().add(
  -                                  WizardToggleOneSignal(),
  -                                );
  +                          onChanged: (_) async {
  +                            if (await Permission.notification.request().isGranted) {
  +                              context.read<WizardBloc>().add(
  +                                    WizardToggleOneSignal(),
  +                                  );
  +                            } else {
  +                              await showDialog(
  +                                context: context,
  +                                builder: (context) => PermissionSettingDialog(
  +                                  title: LocaleKeys.notification_permission_dialog_title.tr(),
  +                                  content: LocaleKeys.notification_permission_dialog_content.tr(),
  +                                ),
  +                              );
  +                            }
                             },
                           ),
                         ),
  
positive.code:                           Navigator.of(context).push(
                              MaterialPageRoute(
                                fullscreenDialog: true,
                                builder: (context) =>
                                    const OneSignalDataPrivacyPage(
                                  showToggle: false,
                                ),
                              ),
  
negative.code: import 'package:flutter/material.dart';
  import 'package:flutter_bloc/flutter_bloc.dart';
  import 'package:gap/gap.dart';
  import 'package:permission_handler/permission_handler.dart';
  import 'package:websafe_svg/websafe_svg.dart';
  
  import '../../../../core/widgets/permission_setting_dialog.dart';
  import '../../../../translations/locale_keys.g.dart';
  import '../../../onesignal/presentation/pages/onesignal_data_privacy.dart';
  import '../../../settings/presentation/widgets/list_tiles/checkbox_settings_list_tile.dart';
  