Skip to content

Commit

Permalink
TW-1313: change color of chat list item pinned icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sherlockvn authored and hoangdat committed Jan 16, 2024
1 parent 34f5c5e commit d6bccca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lib/pages/chat_list/chat_list_item_style.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import 'package:linagora_design_flutter/colors/linagora_ref_colors.dart';
class ChatListItemStyle {
static Color? get readIconColor => LinagoraRefColors.material().tertiary[20];

static Color? get pinnedIconColor =>
LinagoraRefColors.material().tertiary[30];

static const double readIconSize = 20;

static const double groupIconSize = 16;
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/chat_list/chat_list_item_title.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class ChatListItemTitle extends StatelessWidget with ChatListItemMixin {
child: Icon(
Icons.push_pin_outlined,
size: ChatListItemStyle.readIconSize,
color: ChatListItemStyle.readIconColor,
color: ChatListItemStyle.pinnedIconColor,
),
),
if (isMuted)
Expand All @@ -75,7 +75,7 @@ class ChatListItemTitle extends StatelessWidget with ChatListItemMixin {
child: Icon(
Icons.volume_off_outlined,
size: ChatListItemStyle.readIconSize,
color: ChatListItemStyle.readIconColor,
color: ChatListItemStyle.pinnedIconColor,
),
),
],
Expand Down

0 comments on commit d6bccca

Please sign in to comment.