Merge pull request #6337 from litetex/fix-broken-yt-liked-comments

[YouTube] Fix broken likes in comments
This commit is contained in:
bopol 2021-06-04 22:32:48 +02:00 committed by GitHub
commit 332b90d6c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -137,7 +137,10 @@ public class CommentsMiniInfoItemHolder extends InfoItemHolder {
}
if (item.getLikeCount() >= 0) {
itemLikesCountView.setText(String.valueOf(item.getLikeCount()));
itemLikesCountView.setText(
Localization.shortCount(
itemBuilder.getContext(),
item.getLikeCount()));
} else {
itemLikesCountView.setText("-");
}