1
0
Fork 0
mirror of https://github.com/KokaKiwi/BarInsta synced 2026-03-14 00:11:40 +00:00

remove some unused resources

This commit is contained in:
Austin Huang 2021-07-01 20:38:14 -04:00
parent 0e788c9889
commit 4984db4c5c
No known key found for this signature in database
GPG key ID: 84C23AA04587A91F
28 changed files with 1 additions and 329 deletions

View file

@ -122,7 +122,6 @@ public final class CommentViewHolder extends RecyclerView.ViewHolder {
}
private void setLikes(@NonNull final Comment comment, final boolean isReply) {
// final String likesString = itemView.getResources().getQuantityString(R.plurals.likes_count, likes, likes);
binding.likes.setText(String.valueOf(comment.getCommentLikeCount()));
binding.likes.setOnLongClickListener(v -> {
if (commentCallback == null) return false;
@ -150,7 +149,6 @@ public final class CommentViewHolder extends RecyclerView.ViewHolder {
final int replies = comment.getChildCommentCount();
binding.replies.setVisibility(View.VISIBLE);
final String text = isReply ? "" : String.valueOf(replies);
// final String string = itemView.getResources().getQuantityString(R.plurals.replies_count, replies, replies);
binding.replies.setText(text);
binding.replies.setOnClickListener(v -> {
if (commentCallback == null) return;