aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Kozelko <KozelkoS@yandex.ru>2022-12-23 23:47:05 +0000
committerGitHub <noreply@github.com>2022-12-23 23:47:05 +0000
commita6a46bb29f950a8d568b61ec1cb4f20f1b501c36 (patch)
treedb40f79ba12a78aeab98ba6af9852235a92b6837
parentbefc6df1f0088dcee26fec0fb8f3cb614a9b74de (diff)
downloadinfinity-for-reddit-a6a46bb29f950a8d568b61ec1cb4f20f1b501c36.tar
infinity-for-reddit-a6a46bb29f950a8d568b61ec1cb4f20f1b501c36.tar.gz
infinity-for-reddit-a6a46bb29f950a8d568b61ec1cb4f20f1b501c36.tar.bz2
infinity-for-reddit-a6a46bb29f950a8d568b61ec1cb4f20f1b501c36.tar.lz
infinity-for-reddit-a6a46bb29f950a8d568b61ec1cb4f20f1b501c36.tar.xz
infinity-for-reddit-a6a46bb29f950a8d568b61ec1cb4f20f1b501c36.tar.zst
infinity-for-reddit-a6a46bb29f950a8d568b61ec1cb4f20f1b501c36.zip
Delete unused mCommentIcon field (#1293)
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java
index 20c5521d..9f782077 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java
@@ -152,8 +152,6 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi
private int mAwardedCommentBackgroundColor;
private int[] verticalBlockColors;
- private Drawable mCommentIcon;
-
private int mSearchCommentIndex = -1;
public CommentsRecyclerViewAdapter(BaseActivity activity, ViewPostDetailFragment fragment,
@@ -275,11 +273,6 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi
customThemeWrapper.getCommentVerticalBarColor6(),
customThemeWrapper.getCommentVerticalBarColor7(),
};
-
- mCommentIcon = AppCompatResources.getDrawable(activity, R.drawable.ic_comment_grey_24dp);
- if (mCommentIcon != null) {
- mCommentIcon.setTint(mPostIconAndInfoColor);
- }
}
@Override