Set border color of not reacted reaction to secondary header color
This commit is contained in:
parent
c70a5cd03d
commit
26af19a08b
1 changed files with 2 additions and 1 deletions
|
|
@ -70,7 +70,8 @@ class _Reaction extends StatelessWidget {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
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
|
final textColor = Theme.of(context).brightness == Brightness.dark
|
||||||
? Colors.white
|
? Colors.white
|
||||||
: Colors.black;
|
: Colors.black;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue