💄 Optimize search message tile
This commit is contained in:
@@ -26,6 +26,7 @@ class MessageListTile extends StatelessWidget {
|
|||||||
final sender = remoteMessage.sender;
|
final sender = remoteMessage.sender;
|
||||||
|
|
||||||
return ListTile(
|
return ListTile(
|
||||||
|
isThreeLine: true,
|
||||||
leading: CircleAvatar(
|
leading: CircleAvatar(
|
||||||
radius: 20,
|
radius: 20,
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
@@ -42,6 +43,7 @@ class MessageListTile extends StatelessWidget {
|
|||||||
createdAt: message.createdAt,
|
createdAt: message.createdAt,
|
||||||
textColor: Theme.of(context).colorScheme.onSurfaceVariant,
|
textColor: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||||
showAvatar: false,
|
showAvatar: false,
|
||||||
|
isCompact: true,
|
||||||
),
|
),
|
||||||
const SizedBox(height: 4),
|
const SizedBox(height: 4),
|
||||||
MessageContent(item: remoteMessage),
|
MessageContent(item: remoteMessage),
|
||||||
|
Reference in New Issue
Block a user