Small fix
This commit is contained in:
parent
950d99b5de
commit
8178cff72c
|
@ -247,6 +247,8 @@ public class CommentListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHo
|
|||
holder.binding.mainContainer.setOnClickListener(v -> ((PeertubeActivity) context).openCommentThread(comment));
|
||||
holder.binding.commentContent.setOnClickListener(v -> ((PeertubeActivity) context).openCommentThread(comment));
|
||||
holder.binding.replyButton.setOnClickListener(v -> ((PeertubeActivity) context).openCommentThread(comment));
|
||||
} else if (context instanceof PeertubeActivity) {
|
||||
holder.binding.replyButton.setOnClickListener(v -> ((PeertubeActivity) context).openPostComment(comment, i));
|
||||
}
|
||||
if (comment.getTotalReplies() > 0) {
|
||||
holder.binding.numberOfReplies.setVisibility(View.VISIBLE);
|
||||
|
|
Loading…
Reference in New Issue