fix(mute-hashtag): make the mute button follow the mute state of the hashtag
This commit is contained in:
@@ -87,6 +87,7 @@ public class HashtagTimelineFragment extends PinnableStatusListFragment {
|
||||
|
||||
private void updateMuteState(boolean newMute) {
|
||||
muteButton.setTitle(getString(newMute ? R.string.unmute_user : R.string.mute_user, "#" + hashtag));
|
||||
muteButton.setIcon(newMute ? R.drawable.ic_fluent_speaker_2_24_regular : R.drawable.ic_fluent_speaker_off_24_regular);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user