💄 Optimize chat list tile

This commit is contained in:
2025-08-17 13:51:02 +08:00
parent 86682a3a9a
commit 2bdf7029e9

View File

@@ -80,10 +80,12 @@ class ChatRoomListTile extends HookConsumerWidget {
), ),
), ),
Row( Row(
spacing: 4,
children: [ children: [
Text( Badge(
'${data.lastMessage.sender.account.name}: ', label: Text(data.lastMessage.sender.account.nick),
style: Theme.of(context).textTheme.bodySmall, textColor: Theme.of(context).colorScheme.onPrimary,
backgroundColor: Theme.of(context).colorScheme.primary,
), ),
Expanded( Expanded(
child: Text( child: Text(