mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Remove a warning
This commit is contained in:
		@@ -89,6 +89,8 @@ class _MembershipsPanelState extends SafeState<MembershipsPanel> {
 | 
				
			|||||||
      case MembershipType.CONVERSATION:
 | 
					      case MembershipType.CONVERSATION:
 | 
				
			||||||
        return _buildConversationMembership(membership);
 | 
					        return _buildConversationMembership(membership);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    throw Exception("Unreachable statement!");
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // TODO : add private messages icon support
 | 
					  // TODO : add private messages icon support
 | 
				
			||||||
@@ -170,7 +172,8 @@ class _MembershipsPanelState extends SafeState<MembershipsPanel> {
 | 
				
			|||||||
            ConversationsHelper.getConversationName(conversation, _usersList)),
 | 
					            ConversationsHelper.getConversationName(conversation, _usersList)),
 | 
				
			||||||
        subtitle: Text(diffTimeFromNowToStr(membership.lastActive) +
 | 
					        subtitle: Text(diffTimeFromNowToStr(membership.lastActive) +
 | 
				
			||||||
            (conversation.isHavingCall ? "\n" + tr("Ongoing call") : "")),
 | 
					            (conversation.isHavingCall ? "\n" + tr("Ongoing call") : "")),
 | 
				
			||||||
        onTap: () => MainController.of(context).openConversation(conversation.id),
 | 
					        onTap: () =>
 | 
				
			||||||
 | 
					            MainController.of(context).openConversation(conversation.id),
 | 
				
			||||||
      ),
 | 
					      ),
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user