Using Localization.shortCount() and old likeCount

pull/6337/head
litetex 2021-06-03 14:40:00 +02:00
rodzic 67b83388b1
commit 1306a777fc
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

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