diff --git a/lib/ui/tiles/conversation_tile.dart b/lib/ui/tiles/conversation_tile.dart index 40c09d3..6efe938 100644 --- a/lib/ui/tiles/conversation_tile.dart +++ b/lib/ui/tiles/conversation_tile.dart @@ -35,14 +35,24 @@ class ConversationTile extends StatelessWidget { @override Widget build(BuildContext context) { return ListTile( - title: Text(ConversationsHelper.getConversationName( - conversation, - usersList, - )), + // Conversation name + title: Text( + ConversationsHelper.getConversationName( + conversation, + usersList, + ), + style: TextStyle( + fontWeight: conversation.sawLastMessage ? null : FontWeight.bold, + ), + ), + + // Leading icon leading: Icon( conversation.sawLastMessage ? Icons.check_circle : Icons.lens, color: conversation.sawLastMessage ? null : Colors.blue, ), + + // Conversation information isThreeLine: true, subtitle: Column( crossAxisAlignment: CrossAxisAlignment.stretch,