diff --git a/lib/ui/routes/push_notifications_route.dart b/lib/ui/routes/push_notifications_route.dart index fa2fba5..97e836a 100644 --- a/lib/ui/routes/push_notifications_route.dart +++ b/lib/ui/routes/push_notifications_route.dart @@ -78,7 +78,7 @@ class PushNotificationsConfigurationWidget extends StatefulWidget { const PushNotificationsConfigurationWidget({ Key key, @required this.onConfigured, - this.onChanged, + @required this.onChanged, }) : super(key: key); @override @@ -101,6 +101,8 @@ class PushNotificationsConfigurationWidgetState if (currStatus == PushNotificationsStatus.UNDEFINED && srvConfig.notificationsPolicy.hasFirebase) currStatus = PushNotificationsStatus.FIREBASE; + + widget.onChanged(); } @override