Merge pull request #467 from FineFindus/fix/hashtag-mute-name

fix(HashtagTimeline): show hashtag name in mute icon tooltip
This commit is contained in:
LucasGGamerM 2024-07-19 09:47:42 -03:00 committed by GitHub
commit c785bbb2d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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) {
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);
}