Fix chat list on web

This commit is contained in:
Christian Pauly 2020-08-15 08:05:49 +02:00
parent 87e72f40b1
commit da368a1cee

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