|  |  | @ -171,22 +171,18 @@ class _NeonAppState extends State<NeonApp> with WidgetsBindingObserver, tray.Tra | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (account == null) { |  |  |  |           if (account == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return; |  |  |  |             return; | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |           final appImplementation = Provider.of<List<AppImplementation>>(context, listen: false) |  |  |  |           final app = Provider.of<List<AppImplementation>>(context, listen: false).find('notifications'); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               .singleWhere((final a) => a.id == 'notifications'); |  |  |  |           if (app != null) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           await _accountsBloc.getAppsBloc(account).getAppBloc<NotificationsBlocInterface>(appImplementation).refresh(); |  |  |  |             await _accountsBloc.getAppsBloc(account).getAppBloc<NotificationsBlocInterface>(app).refresh(); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }; |  |  |  |         }; | 
			
		
	
		
		
			
				
					
					|  |  |  |         Global.onPushNotificationClicked = (final pushNotificationWithAccountID) async { |  |  |  |         Global.onPushNotificationClicked = (final pushNotificationWithAccountID) async { | 
			
		
	
		
		
			
				
					
					|  |  |  |           final allAppImplementations = Provider.of<List<AppImplementation>>(context, listen: false); |  |  |  |           final allAppImplementations = Provider.of<List<AppImplementation>>(context, listen: false); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           final matchingAppImplementations = |  |  |  |           final app = (pushNotificationWithAccountID.subject.app != null | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               allAppImplementations.where((final a) => a.id == pushNotificationWithAccountID.subject.app); |  |  |  |                   ? allAppImplementations.find(pushNotificationWithAccountID.subject.app!) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |                   : null) ?? | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           late AppImplementation appImplementation; |  |  |  |               allAppImplementations.find('notifications'); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           if (matchingAppImplementations.isNotEmpty) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             appImplementation = matchingAppImplementations.single; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           } else { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             appImplementation = allAppImplementations.singleWhere((final a) => a.id == 'notifications'); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           final account = _accountsBloc.accounts.value.find(pushNotificationWithAccountID.accountID); |  |  |  |           final account = _accountsBloc.accounts.value.find(pushNotificationWithAccountID.accountID); | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (account == null) { |  |  |  |           if (account == null) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -194,13 +190,15 @@ class _NeonAppState extends State<NeonApp> with WidgetsBindingObserver, tray.Tra | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           _accountsBloc.setActiveAccount(account); |  |  |  |           _accountsBloc.setActiveAccount(account); | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (appImplementation.id != 'notifications') { |  |  |  |           if (app != null) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             _accountsBloc |  |  |  |             if (app.id != 'notifications') { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 .getAppsBloc(account) |  |  |  |               _accountsBloc | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 .getAppBloc<NotificationsBlocInterface>(appImplementation) |  |  |  |                   .getAppsBloc(account) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 .deleteNotification(pushNotificationWithAccountID.subject.nid!); |  |  |  |                   .getAppBloc<NotificationsBlocInterface>(app) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   .deleteNotification(pushNotificationWithAccountID.subject.nid!); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             await _openAppFromExternal(account, app.id); | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |           await _openAppFromExternal(account, appImplementation.id); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         }; |  |  |  |         }; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         final details = await localNotificationsPlugin.getNotificationAppLaunchDetails(); |  |  |  |         final details = await localNotificationsPlugin.getNotificationAppLaunchDetails(); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |