Add `context` to `Mute` and `Unmute` labels on video control (#5234)
Co-authored-by: Marco Buono <thecoreh@gmail.com>zio/stable
parent
44f1cd9fb5
commit
f240893980
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue