fix(mute-hashtag): make the mute button follow the mute state of the hashtag

This commit is contained in:
LucasGGamerM
2023-09-26 07:54:18 -03:00
parent f90e799caa
commit 3057546c55

View File

@@ -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