💄 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(
spacing: 4,
children: [
Text(
'${data.lastMessage.sender.account.name}: ',
style: Theme.of(context).textTheme.bodySmall,
Badge(
label: Text(data.lastMessage.sender.account.nick),
textColor: Theme.of(context).colorScheme.onPrimary,
backgroundColor: Theme.of(context).colorScheme.primary,
),
Expanded(
child: Text(