Add all state events

This commit is contained in:
Christian Pauly 2020-01-02 23:38:46 +01:00
commit bc7c6f00f4
2 changed files with 151 additions and 1 deletions

View file

@ -19,7 +19,10 @@ class ChatListItem extends StatelessWidget {
color: activeChat ? Color(0xFFE8E8E8) : Colors.white,
child: ListTile(
leading: Avatar(room.avatar),
title: Text(room.displayname),
title: Text(
room.displayname,
maxLines: 1,
),
subtitle: MessageContent(room.lastEvent, textOnly: true),
onTap: () {
if (activeChat) {