Merge pull request #467 from FineFindus/fix/hashtag-mute-name
fix(HashtagTimeline): show hashtag name in mute icon tooltip
This commit is contained in:
commit
c785bbb2d7
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue