aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-05-16 04:08:28 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-05-16 04:08:28 +0000
commit8be5fde87540e952848a4fe45d468fb6859da436 (patch)
tree35548080bb9c662107bda2b4ceb8979e52636a70 /app/src/main
parent3c7a089a62c77862c41d66a0805a10e8179b77ed (diff)
downloadinfinity-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')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java2
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) {