mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Improve conversations appearance
This commit is contained in:
		@@ -35,14 +35,24 @@ class ConversationTile extends StatelessWidget {
 | 
				
			|||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Widget build(BuildContext context) {
 | 
					  Widget build(BuildContext context) {
 | 
				
			||||||
    return ListTile(
 | 
					    return ListTile(
 | 
				
			||||||
      title: Text(ConversationsHelper.getConversationName(
 | 
					      // Conversation name
 | 
				
			||||||
        conversation,
 | 
					      title: Text(
 | 
				
			||||||
        usersList,
 | 
					        ConversationsHelper.getConversationName(
 | 
				
			||||||
      )),
 | 
					          conversation,
 | 
				
			||||||
 | 
					          usersList,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					        style: TextStyle(
 | 
				
			||||||
 | 
					          fontWeight: conversation.sawLastMessage ? null : FontWeight.bold,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      // Leading icon
 | 
				
			||||||
      leading: Icon(
 | 
					      leading: Icon(
 | 
				
			||||||
        conversation.sawLastMessage ? Icons.check_circle : Icons.lens,
 | 
					        conversation.sawLastMessage ? Icons.check_circle : Icons.lens,
 | 
				
			||||||
        color: conversation.sawLastMessage ? null : Colors.blue,
 | 
					        color: conversation.sawLastMessage ? null : Colors.blue,
 | 
				
			||||||
      ),
 | 
					      ),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      // Conversation information
 | 
				
			||||||
      isThreeLine: true,
 | 
					      isThreeLine: true,
 | 
				
			||||||
      subtitle: Column(
 | 
					      subtitle: Column(
 | 
				
			||||||
        crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
					        crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user