File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import 'package:flutter/material.dart';
4
4
import '../api/model/model.dart' ;
5
5
import '../api/route/messages.dart' ;
6
6
import '../model/emoji.dart' ;
7
+ import 'color.dart' ;
7
8
import 'content.dart' ;
8
9
import 'store.dart' ;
9
10
import 'text.dart' ;
@@ -166,7 +167,7 @@ class ReactionChip extends StatelessWidget {
166
167
final labelColor = selfVoted ? reactionTheme.textSelected : reactionTheme.textUnselected;
167
168
final backgroundColor = selfVoted ? reactionTheme.bgSelected : reactionTheme.bgUnselected;
168
169
final splashColor = selfVoted ? reactionTheme.bgUnselected : reactionTheme.bgSelected;
169
- final highlightColor = splashColor.withValues (alpha : 0.5 );
170
+ final highlightColor = splashColor.withFadedAlpha ( 0.5 );
170
171
171
172
final borderSide = BorderSide (
172
173
color: borderColor,
You can’t perform that action at this time.
0 commit comments