fix(HashtagTimeline): show hashtag name in mute icon tooltip

This commit is contained in:
FineFindus 2024-07-17 18:44:45 +02:00
parent 18079454a9
commit ed0fe1e803
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public class HashtagTimelineFragment extends PinnableStatusListFragment{
} }
private void updateMuteState(boolean newMute) { 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); muteMenuItem.setIcon(newMute ? R.drawable.ic_fluent_speaker_2_24_regular : R.drawable.ic_fluent_speaker_off_24_regular);
} }