Add context to Mute and Unmute labels on video control (#5234)
Co-authored-by: Marco Buono <thecoreh@gmail.com>
This commit is contained in:
@@ -341,8 +341,8 @@ export function Controls({
|
|||||||
)}
|
)}
|
||||||
<ControlButton
|
<ControlButton
|
||||||
active={muted}
|
active={muted}
|
||||||
activeLabel={_(msg`Unmute`)}
|
activeLabel={_(msg({message: `Unmute`, context: 'video'}))}
|
||||||
inactiveLabel={_(msg`Mute`)}
|
inactiveLabel={_(msg({message: `Mute`, context: 'video'}))}
|
||||||
activeIcon={MuteIcon}
|
activeIcon={MuteIcon}
|
||||||
inactiveIcon={UnmuteIcon}
|
inactiveIcon={UnmuteIcon}
|
||||||
onPress={onPressMute}
|
onPress={onPressMute}
|
||||||
|
|||||||
Reference in New Issue
Block a user