fix: Selected chat list item color
This commit is contained in:
parent
86acd3bb2c
commit
42a7175e3a
2 changed files with 13 additions and 20 deletions
|
|
@ -209,18 +209,6 @@ abstract class FluffyThemes {
|
|||
),
|
||||
);
|
||||
|
||||
static Color chatListItemColor(
|
||||
BuildContext context, bool activeChat, bool selected) =>
|
||||
selected
|
||||
? Theme.of(context).primaryColor.withAlpha(100)
|
||||
: Theme.of(context).brightness == Brightness.light
|
||||
? activeChat
|
||||
? Color(0xFFE8E8E8)
|
||||
: Colors.white
|
||||
: activeChat
|
||||
? Color(0xff121212)
|
||||
: Colors.black;
|
||||
|
||||
static Color blackWhiteColor(BuildContext context) =>
|
||||
Theme.of(context).brightness == Brightness.light
|
||||
? Colors.white
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue