1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00

Fix conversations appeareance in sidebar

This commit is contained in:
Pierre HUBERT 2021-03-11 18:18:58 +01:00
parent f9502d1700
commit 3257fd865f

View File

@ -207,8 +207,17 @@ class _MembershipsPanelState extends SafeState<MembershipsPanel> {
conversation: conversation,
users: _usersList,
),
title: Text(
ConversationsHelper.getConversationName(conversation, _usersList)),
title: Row(
children: [
Icon(
Icons.message,
size: 12,
),
SizedBox(width: 5),
Text(ConversationsHelper.getConversationName(
conversation, _usersList)),
],
),
subtitle: Text(diffTimeFromNowToStr(membership.lastActive) +
(conversation.isHavingCall ? "\n" + tr("Ongoing call") : "")),
onTap: () => MainController.of(context)