diff --git a/packages/neon/neon/lib/src/blocs/push_notifications.dart b/packages/neon/neon/lib/src/blocs/push_notifications.dart index 6bde33b2..7b5e0134 100644 --- a/packages/neon/neon/lib/src/blocs/push_notifications.dart +++ b/packages/neon/neon/lib/src/blocs/push_notifications.dart @@ -34,6 +34,8 @@ class PushNotificationsBloc extends Bloc implements PushNotificationsBlocEvents, unawaited(UnifiedPush.getDistributors().then(_globalOptions.updateDistributors)); _globalOptions.pushNotificationsEnabled.addListener(_pushNotificationsEnabledListener); + // Call the listener to update everything + unawaited(_pushNotificationsEnabledListener()); } }