mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Parse correctly conversation color
This commit is contained in:
@ -71,7 +71,7 @@ class ConversationTile extends StatelessWidget {
|
||||
conversation.sawLastMessage ? Icons.check_circle : Icons.lens,
|
||||
color: conversation.sawLastMessage
|
||||
? (darkTheme() ? darkAccentColor : null)
|
||||
: Colors.blue,
|
||||
: conversation.color ?? Colors.blue,
|
||||
),
|
||||
|
||||
// Conversation information
|
||||
@ -79,8 +79,8 @@ class ConversationTile extends StatelessWidget {
|
||||
subtitle: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: <Widget>[
|
||||
_buildSubInformation(
|
||||
Icons.access_time, diffTimeFromNowToStr(conversation.lastActivity)),
|
||||
_buildSubInformation(Icons.access_time,
|
||||
diffTimeFromNowToStr(conversation.lastActivity)),
|
||||
_buildSubInformation(
|
||||
Icons.group,
|
||||
conversation.members.length == 1
|
||||
|
Reference in New Issue
Block a user