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
|
||||
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}
|
||||
|
|
Loading…
Reference in New Issue