chore: Follow up colors
This commit is contained in:
parent
1c1c24c98b
commit
1c97a9798d
1 changed files with 3 additions and 5 deletions
|
|
@ -353,9 +353,6 @@ class ChatListItem extends StatelessWidget {
|
||||||
room.notificationCount >= 1 ? 2 : 1,
|
room.notificationCount >= 1 ? 2 : 1,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontWeight: unread || room.hasNewMessages
|
|
||||||
? FontWeight.w500
|
|
||||||
: null,
|
|
||||||
color: unread || room.hasNewMessages
|
color: unread || room.hasNewMessages
|
||||||
? theme.colorScheme.onSurface
|
? theme.colorScheme.onSurface
|
||||||
: theme.colorScheme.outline,
|
: theme.colorScheme.outline,
|
||||||
|
|
@ -393,8 +390,9 @@ class ChatListItem extends StatelessWidget {
|
||||||
? Text(
|
? Text(
|
||||||
room.notificationCount.toString(),
|
room.notificationCount.toString(),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: room.highlightCount > 0
|
color: room.highlightCount > 0 ||
|
||||||
? Colors.white
|
room.membership == Membership.invite
|
||||||
|
? theme.colorScheme.onError
|
||||||
: hasNotifications
|
: hasNotifications
|
||||||
? theme.colorScheme.onPrimary
|
? theme.colorScheme.onPrimary
|
||||||
: theme.colorScheme.onPrimaryContainer,
|
: theme.colorScheme.onPrimaryContainer,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue