1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-25 12:32:31 +01:00

Using Localization.shortCount() and old likeCount

This commit is contained in:
litetex 2021-06-03 14:40:00 +02:00
parent 67b83388b1
commit 1306a777fc

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("-");
}