Skip to content

Commit

Permalink
fix(mute-hashtag): make the mute button follow the mute state of the …
Browse files Browse the repository at this point in the history
…hashtag
  • Loading branch information
LucasGGamerM committed Sep 26, 2023
1 parent f90e799 commit 3057546
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ private void updateFollowingState(boolean newFollowing) {

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
Expand Down

0 comments on commit 3057546

Please sign in to comment.