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