mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-03 19:54:12 +00:00 
			
		
		
		
	Handle notifications related to friendship requests
This commit is contained in:
		@@ -269,6 +269,9 @@ class _NotificationTile extends StatelessWidget {
 | 
			
		||||
  void _onTap(BuildContext context) {
 | 
			
		||||
    if (notification.onElemType == n.NotificationElementType.POST) {
 | 
			
		||||
      openPostFullScreen(notification.onElemId, context);
 | 
			
		||||
    } else if (notification.onElemType ==
 | 
			
		||||
        n.NotificationElementType.FRIENDSHIP_REQUEST) {
 | 
			
		||||
      openUserPage(userID: notification.fromUser, context: context);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // TODO : mark the notification as seen
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user