Add context to Unmute and Mute strings (#5340)

Co-authored-by: Hailey <me@haileyok.com>
This commit is contained in:
surfdude29
2024-09-15 20:11:44 +01:00
committed by GitHub
parent f8658f0795
commit 2a344d8f12
@@ -160,7 +160,11 @@ function VideoControls({
<ControlButton
onPress={toggleMuted}
label={muted ? _(msg`Unmute`) : _(msg`Mute`)}
label={
muted
? _(msg({message: `Unmute`, context: 'video'}))
: _(msg({message: `Mute`, context: 'video'}))
}
accessibilityHint={_(msg`Tap to toggle sound`)}
style={{right: 6}}>
{muted ? (