From 22bf8840d55f02741ac6cda30fcd916a2643a22e Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Tue, 19 Sep 2023 12:21:12 -0300 Subject: [PATCH] fix(mute-conversations-toggle): make unmute option work --- .../android/ui/displayitems/HeaderStatusDisplayItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/HeaderStatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/HeaderStatusDisplayItem.java index 9ff8ec178..dd0cd5e1e 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/HeaderStatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/HeaderStatusDisplayItem.java @@ -250,7 +250,7 @@ public class HeaderStatusDisplayItem extends StatusDisplayItem{ UiUtils.confirmPinPost(item.parentFragment.getActivity(), item.parentFragment.getAccountID(), item.status, !item.status.pinned, s->{}); }else if(id==R.id.mute){ UiUtils.confirmToggleMuteUser(item.parentFragment.getActivity(), item.parentFragment.getAccountID(), account, relationship!=null && relationship.muting, r->{}); - }else if (id==R.id.mute_conversation) { + }else if (id==R.id.mute_conversation || id==R.id.unmute_conversation) { UiUtils.confirmToggleMuteConversation(item.parentFragment.getActivity(), item.parentFragment.getAccountID(), item.status, ()->{}); }else if(id==R.id.block){ UiUtils.confirmToggleBlockUser(item.parentFragment.getActivity(), item.parentFragment.getAccountID(), account, relationship!=null && relationship.blocking, r->{});