diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-05-16 04:08:28 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-05-16 04:08:28 +0000 |
commit | 8be5fde87540e952848a4fe45d468fb6859da436 (patch) | |
tree | 35548080bb9c662107bda2b4ceb8979e52636a70 /app/src/main/java/ml/docilealligator/infinityforreddit | |
parent | 3c7a089a62c77862c41d66a0805a10e8179b77ed (diff) | |
download | infinity-for-reddit-8be5fde87540e952848a4fe45d468fb6859da436.tar infinity-for-reddit-8be5fde87540e952848a4fe45d468fb6859da436.tar.gz infinity-for-reddit-8be5fde87540e952848a4fe45d468fb6859da436.tar.bz2 infinity-for-reddit-8be5fde87540e952848a4fe45d468fb6859da436.tar.lz infinity-for-reddit-8be5fde87540e952848a4fe45d468fb6859da436.tar.xz infinity-for-reddit-8be5fde87540e952848a4fe45d468fb6859da436.tar.zst infinity-for-reddit-8be5fde87540e952848a4fe45d468fb6859da436.zip |
Minor bugs fixed in CommentAndPostRecyclerViewAdapter.
Diffstat (limited to 'app/src/main/java/ml/docilealligator/infinityforreddit')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java index ed4df937..c5d520ff 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java @@ -1171,7 +1171,7 @@ public class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter<Recy } ((CommentFullyCollapsedViewHolder) holder).scoreTextView.setText(mActivity.getString(R.string.top_score, Utils.getNVotes(mShowAbsoluteNumberOfVotes, comment.getScore() + comment.getVoteType()))); - ((CommentViewHolder) holder).commentIndentationView.setShowOnlyOneDivider(mShowOnlyOneCommentLevelIndicator); + ((CommentFullyCollapsedViewHolder) holder).commentIndentationView.setShowOnlyOneDivider(mShowOnlyOneCommentLevelIndicator); ((CommentFullyCollapsedViewHolder) holder).commentIndentationView.setLevelAndColors(comment.getDepth(), verticalBlockColors); } } else if (holder instanceof LoadMoreChildCommentsViewHolder) { |