💄 Optimize chat list tile
This commit is contained in:
@@ -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(
|
||||||
|
Reference in New Issue
Block a user