fix(HashtagTimeline): show hashtag name in mute icon tooltip
This commit is contained in:
parent
18079454a9
commit
ed0fe1e803
|
@ -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