fix lint error
This commit is contained in:
parent
735bd52be2
commit
41d44537e9
|
@ -74,7 +74,7 @@ class CommentWidget extends HookWidget {
|
||||||
'downvotes': com.counts.downvotes,
|
'downvotes': com.counts.downvotes,
|
||||||
'score': com.counts.score,
|
'score': com.counts.score,
|
||||||
'% of upvotes':
|
'% of upvotes':
|
||||||
'${100 * (com.counts.upvotes / (com.counts.upvotes + com.counts.downvotes))}%',
|
'''${100 * (com.counts.upvotes / (com.counts.upvotes + com.counts.downvotes))}%''',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -268,7 +268,7 @@ class _UserOverview extends HookWidget {
|
||||||
padding: const EdgeInsets.only(left: 4),
|
padding: const EdgeInsets.only(left: 4),
|
||||||
child: Text(
|
child: Text(
|
||||||
'${compactNumber(userView.counts.commentCount)}'
|
'${compactNumber(userView.counts.commentCount)}'
|
||||||
' Comment${pluralS(userView.counts.commentCount)}',
|
''' Comment${pluralS(userView.counts.commentCount)}''',
|
||||||
style:
|
style:
|
||||||
TextStyle(color: colorOnTopOfAccentColor),
|
TextStyle(color: colorOnTopOfAccentColor),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue