Using Localization.shortCount() and old likeCount
This commit is contained in:
parent
67b83388b1
commit
1306a777fc
1 changed files with 4 additions and 1 deletions
|
@ -137,7 +137,10 @@ public class CommentsMiniInfoItemHolder extends InfoItemHolder {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.getLikeCount() >= 0) {
|
if (item.getLikeCount() >= 0) {
|
||||||
itemLikesCountView.setText(String.valueOf(item.getLikeCount()));
|
itemLikesCountView.setText(
|
||||||
|
Localization.shortCount(
|
||||||
|
itemBuilder.getContext(),
|
||||||
|
item.getLikeCount()));
|
||||||
} else {
|
} else {
|
||||||
itemLikesCountView.setText("-");
|
itemLikesCountView.setText("-");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue