1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-10-23 06:53:23 +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)