From ed0fe1e8039443f0e4ea0ad54bcf5262a5813c4a Mon Sep 17 00:00:00 2001 From: FineFindus Date: Wed, 17 Jul 2024 18:44:45 +0200 Subject: [PATCH] fix(HashtagTimeline): show hashtag name in mute icon tooltip --- .../joinmastodon/android/fragments/HashtagTimelineFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2745ffa0a..a982737dc 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/HashtagTimelineFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/HashtagTimelineFragment.java @@ -101,7 +101,7 @@ public class HashtagTimelineFragment extends PinnableStatusListFragment{ } private void updateMuteState(boolean newMute) { - muteMenuItem.setTitle(getString(newMute ? R.string.unmute_user : R.string.mute_user, "#" + hashtag)); + muteMenuItem.setTitle(getString(newMute ? R.string.unmute_user : R.string.mute_user, "#" + hashtagName)); muteMenuItem.setIcon(newMute ? R.drawable.ic_fluent_speaker_2_24_regular : R.drawable.ic_fluent_speaker_off_24_regular); }