fix: removed bad state
This commit is contained in:
@@ -40,7 +40,8 @@ class ReactionPicker extends StatelessWidget {
|
|||||||
final totalScore = message.latestReactions
|
final totalScore = message.latestReactions
|
||||||
.where((r) => r.type == reactionType)
|
.where((r) => r.type == reactionType)
|
||||||
.map((r) => r.score)
|
.map((r) => r.score)
|
||||||
.reduce((tot, s) => tot + s);
|
.fold(0, (tot, s) => tot + s);
|
||||||
|
|
||||||
return Column(
|
return Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
|
|||||||
Reference in New Issue
Block a user