fix lint error
This commit is contained in:
parent
735bd52be2
commit
41d44537e9
|
@ -74,7 +74,7 @@ class CommentWidget extends HookWidget {
|
|||
'downvotes': com.counts.downvotes,
|
||||
'score': com.counts.score,
|
||||
'% 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),
|
||||
child: Text(
|
||||
'${compactNumber(userView.counts.commentCount)}'
|
||||
' Comment${pluralS(userView.counts.commentCount)}',
|
||||
''' Comment${pluralS(userView.counts.commentCount)}''',
|
||||
style:
|
||||
TextStyle(color: colorOnTopOfAccentColor),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue