From c8063e961eb04dbe88ac1683034e9b20f7ca701c Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Tue, 26 Sep 2023 07:56:20 -0300 Subject: [PATCH] fix(mute-hashtag): clear the filter optional when successfully deleting the hashtag filter on the server --- .../joinmastodon/android/fragments/HashtagTimelineFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/HashtagTimelineFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/HashtagTimelineFragment.java index 599508276e..60a7ebf1c5 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/HashtagTimelineFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/HashtagTimelineFragment.java @@ -170,6 +170,7 @@ private void unmuteHashtag() { new DeleteFilter(filter.get().id).setCallback(new Callback<>(){ @Override public void onSuccess(Void result){ + filter=Optional.empty(); updateMuteState(false); }