Fix softwrap

onboarding
Christian Pauly 5 years ago
parent f403c2481f
commit cd1b6b8461

@ -150,7 +150,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.ellipsis, overflow: TextOverflow.fade,
softWrap: false, softWrap: false,
), ),
), ),
@ -191,7 +191,7 @@ class ChatListItem extends StatelessWidget {
), ),
softWrap: false, softWrap: false,
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.fade,
style: TextStyle( style: TextStyle(
decoration: room.lastEvent.redacted decoration: room.lastEvent.redacted
? TextDecoration.lineThrough ? TextDecoration.lineThrough

Loading…
Cancel
Save