From d6bcccaf7e75f63e47f4ef5601fb233940c35cd4 Mon Sep 17 00:00:00 2001 From: sherlock Date: Tue, 16 Jan 2024 11:43:30 +0700 Subject: [PATCH] TW-1313: change color of chat list item pinned icon --- lib/pages/chat_list/chat_list_item_style.dart | 3 +++ lib/pages/chat_list/chat_list_item_title.dart | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/pages/chat_list/chat_list_item_style.dart b/lib/pages/chat_list/chat_list_item_style.dart index a255fce45..56111fe7c 100644 --- a/lib/pages/chat_list/chat_list_item_style.dart +++ b/lib/pages/chat_list/chat_list_item_style.dart @@ -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; diff --git a/lib/pages/chat_list/chat_list_item_title.dart b/lib/pages/chat_list/chat_list_item_title.dart index ce569fdb0..d136f5fbb 100644 --- a/lib/pages/chat_list/chat_list_item_title.dart +++ b/lib/pages/chat_list/chat_list_item_title.dart @@ -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) @@ -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, ), ), ],