Fix softwrap

This commit is contained in:
Christian Pauly 2020-05-16 09:10:10 +02:00
parent 22597dd0cf
commit 40f5b98501

View file

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