mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Fix issue
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user