Merge branch 'krille/fix-web-chat-list' into 'master'

Fix chat list on web

See merge request ChristianPauly/fluffychat-flutter!132
This commit is contained in:
Christian Pauly 2020-08-15 06:17:04 +00:00
commit 0a45905c26

View file

@ -182,7 +182,7 @@ class ChatListItem extends StatelessWidget {
child: Text( child: Text(
room.getLocalizedDisplayname(L10n.of(context)), room.getLocalizedDisplayname(L10n.of(context)),
maxLines: 1, maxLines: 1,
overflow: TextOverflow.fade, overflow: TextOverflow.ellipsis,
softWrap: false, softWrap: false,
), ),
), ),
@ -239,7 +239,7 @@ class ChatListItem extends StatelessWidget {
'', '',
softWrap: false, softWrap: false,
maxLines: 1, maxLines: 1,
overflow: TextOverflow.fade, overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(
decoration: room.lastEvent?.redacted == true decoration: room.lastEvent?.redacted == true
? TextDecoration.lineThrough ? TextDecoration.lineThrough