mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 05:45:10 +00:00
Merge branch 'reactions-border-color' into 'master'
Set border color of not reacted reaction to secondary header color Closes #141 See merge request ChristianPauly/fluffychat-flutter!143
This commit is contained in:
commit
c8927f1708
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue