mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
Set border color of not reacted reaction to secondary header color
This commit is contained in:
parent
4527ef94ff
commit
50ca11d14b
@ -70,7 +70,8 @@ class _Reaction extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final borderColor = reacted ? Colors.red : Theme.of(context).primaryColor;
|
||||
final borderColor =
|
||||
reacted ? Colors.red : Theme.of(context).secondaryHeaderColor;
|
||||
final textColor = Theme.of(context).brightness == Brightness.dark
|
||||
? Colors.white
|
||||
: Colors.black;
|
||||
|
Loading…
Reference in New Issue
Block a user