Delete unused mCommentIcon field (#1293)

This commit is contained in:
Sergei Kozelko 2022-12-24 07:47:05 +08:00 committed by GitHub
parent befc6df1f0
commit a6a46bb29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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