1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 21:09: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, conversation: conversation,
users: _usersList, users: _usersList,
), ),
title: Text( title: Row(
ConversationsHelper.getConversationName(conversation, _usersList)), children: [
Icon(
Icons.message,
size: 12,
),
SizedBox(width: 5),
Text(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) onTap: () => MainController.of(context)