mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 04:49:21 +00:00
Fix issue
This commit is contained in:
parent
116e6ce66d
commit
eeefaf87f3
@ -78,7 +78,7 @@ class PushNotificationsConfigurationWidget extends StatefulWidget {
|
|||||||
const PushNotificationsConfigurationWidget({
|
const PushNotificationsConfigurationWidget({
|
||||||
Key key,
|
Key key,
|
||||||
@required this.onConfigured,
|
@required this.onConfigured,
|
||||||
this.onChanged,
|
@required this.onChanged,
|
||||||
}) : super(key: key);
|
}) : super(key: key);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@ -101,6 +101,8 @@ class PushNotificationsConfigurationWidgetState
|
|||||||
if (currStatus == PushNotificationsStatus.UNDEFINED &&
|
if (currStatus == PushNotificationsStatus.UNDEFINED &&
|
||||||
srvConfig.notificationsPolicy.hasFirebase)
|
srvConfig.notificationsPolicy.hasFirebase)
|
||||||
currStatus = PushNotificationsStatus.FIREBASE;
|
currStatus = PushNotificationsStatus.FIREBASE;
|
||||||
|
|
||||||
|
widget.onChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
Loading…
Reference in New Issue
Block a user