Skip to content

Commit 1306a77

Browse files
committed
Using Localization.shortCount() and old likeCount
1 parent 67b8338 commit 1306a77

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/info_list/holder/CommentsMiniInfoItemHolder.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,10 @@ public void updateFromItem(final InfoItem infoItem,
137137
}
138138

139139
if (item.getLikeCount() >= 0) {
140-
itemLikesCountView.setText(String.valueOf(item.getLikeCount()));
140+
itemLikesCountView.setText(
141+
Localization.shortCount(
142+
itemBuilder.getContext(),
143+
item.getLikeCount()));
141144
} else {
142145
itemLikesCountView.setText("-");
143146
}

0 commit comments

Comments
 (0)