fix lint error

This commit is contained in:
krawieck 2021-01-26 23:53:40 +01:00
parent 735bd52be2
commit 41d44537e9
2 changed files with 2 additions and 2 deletions

View File

@ -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))}%''',
}); });
} }

View File

@ -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),
), ),