From b564a297ab86fd2f1e01dd7a1f7cf61c17dc33db Mon Sep 17 00:00:00 2001 From: sk Date: Tue, 27 Dec 2022 21:20:20 +0100 Subject: [PATCH] fix #200 --- .../android/ui/displayitems/PollOptionStatusDisplayItem.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/PollOptionStatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/PollOptionStatusDisplayItem.java index 9d1f23833..22633b8ce 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/PollOptionStatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/PollOptionStatusDisplayItem.java @@ -94,6 +94,7 @@ public class PollOptionStatusDisplayItem extends StatusDisplayItem{ }else{ itemView.setSelected(item.poll.selectedOptions!=null && item.poll.selectedOptions.contains(item.option)); button.setBackgroundResource(R.drawable.bg_poll_option_clickable); + icon.setSelected(itemView.isSelected()); icon.setVisibility(View.VISIBLE); } }