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
onboarding
Christian Pauly 5 years ago
commit c8927f1708

@ -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…
Cancel
Save