From 977c5a1f271858fdbfbd156c1e7aaf357ed992a1 Mon Sep 17 00:00:00 2001 From: Floens Date: Wed, 4 Jul 2018 23:46:24 +0200 Subject: [PATCH] post cell: fix additional replies area blocking opening a thread --- Clover/app/src/main/java/org/floens/chan/ui/cell/PostCell.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Clover/app/src/main/java/org/floens/chan/ui/cell/PostCell.java b/Clover/app/src/main/java/org/floens/chan/ui/cell/PostCell.java index 74f3603d..148f935a 100644 --- a/Clover/app/src/main/java/org/floens/chan/ui/cell/PostCell.java +++ b/Clover/app/src/main/java/org/floens/chan/ui/cell/PostCell.java @@ -189,7 +189,7 @@ public class PostCell extends LinearLayout implements PostCellInterface { divider.setLayoutParams(dividerParams); OnClickListener repliesClickListener = v -> { - if (replies.getVisibility() != VISIBLE || !replies.isClickable() || !threadMode) { + if (replies.getVisibility() != VISIBLE || !threadMode) { return; } int repliesFromSize; @@ -326,6 +326,7 @@ public class PostCell extends LinearLayout implements PostCellInterface { setPostLinkableListener(post, true); replies.setClickable(threadMode); + repliesAdditionalArea.setClickable(threadMode); if (!threadMode) { replies.setBackgroundResource(0);