small update

This commit is contained in:
ggurdin 2025-06-18 11:28:53 -04:00
parent ecac8fd48f
commit 68109aab9c
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

View file

@ -744,28 +744,23 @@ class ChatListController extends State<ChatList>
value: ChatContextAction.open,
child: Row(
mainAxisSize: MainAxisSize.min,
spacing: 12.0,
children: [
Avatar(
mxContent: room.avatar,
size: Avatar.defaultSize / 2,
name: displayname,
// #Pangea
userId: room.directChatMatrixID,
// Pangea#
),
const SizedBox(width: 12),
// #Pangea
Flexible(
child:
// Pangea#
Text(
ConstrainedBox(
constraints: const BoxConstraints(maxWidth: 128),
child: Text(
displayname,
style:
TextStyle(color: Theme.of(context).colorScheme.onSurface),
// #Pangea
maxLines: 2,
overflow: TextOverflow.ellipsis,
// Pangea#
),
),
],