Skip to content

Commit

Permalink
Add context to Mute and Unmute labels on video control (#5234)
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Buono <[email protected]>
  • Loading branch information
surfdude29 and coreh authored Sep 9, 2024
1 parent 44f1cd9 commit f240893
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ export function Controls({
)}
<ControlButton
active={muted}
activeLabel={_(msg`Unmute`)}
inactiveLabel={_(msg`Mute`)}
activeLabel={_(msg({message: `Unmute`, context: 'video'}))}
inactiveLabel={_(msg({message: `Mute`, context: 'video'}))}
activeIcon={MuteIcon}
inactiveIcon={UnmuteIcon}
onPress={onPressMute}
Expand Down

0 comments on commit f240893

Please sign in to comment.