From 201995849c5431df32781315220ab942e13e450a Mon Sep 17 00:00:00 2001 From: FineFindus Date: Sat, 27 May 2023 11:12:43 +0200 Subject: [PATCH] feat: reveal filter warning on click --- .../ui/displayitems/WarningFilteredStatusDisplayItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/WarningFilteredStatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/WarningFilteredStatusDisplayItem.java index 89ad2f56b..274c48288 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/WarningFilteredStatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/WarningFilteredStatusDisplayItem.java @@ -44,8 +44,8 @@ public class WarningFilteredStatusDisplayItem extends StatusDisplayItem{ warningWrap=findViewById(R.id.warning_wrap); showBtn=findViewById(R.id.reveal_btn); showBtn.setOnClickListener(i -> item.parentFragment.onWarningClick(this)); + itemView.setOnClickListener(v->item.parentFragment.onWarningClick(this)); text=findViewById(R.id.text); -// itemView.setOnClickListener(v->item.parentFragment.onRevealFilteredClick(this)); } @Override