mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-03 19:54:12 +00:00 
			
		
		
		
	Do not re-configure local push notification if the same option is selected
This commit is contained in:
		@@ -114,6 +114,11 @@ class _PushNotificationsConfigurationRouteState
 | 
				
			|||||||
    try {
 | 
					    try {
 | 
				
			||||||
      String firebaseToken = "";
 | 
					      String firebaseToken = "";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (currStatus == await PushNotificationsHelper.getLocalStatus()) {
 | 
				
			||||||
 | 
					        Navigator.of(context).pop();
 | 
				
			||||||
 | 
					        return;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      switch (currStatus) {
 | 
					      switch (currStatus) {
 | 
				
			||||||
        case PushNotificationsStatus.DISABLED:
 | 
					        case PushNotificationsStatus.DISABLED:
 | 
				
			||||||
          break;
 | 
					          break;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user