fix(player): drop "Tap for sound" pill — speaker toggle is enough

User feedback (2026-06-07, report 4bdca61e) on the prior mute change: the always-
visible "Tap for sound" pill is redundant — the 🔇/🔊 toggle in the top controls
is enough. Removed the pill (+ its styles); video still starts muted and the
speaker toggle unmutes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
jtrzupek 2026-06-08 09:20:42 +02:00
parent c5abdc1186
commit bc72515227

View file

@ -648,14 +648,6 @@ function NativeVideoPlayer({ params }: { params: RouteParams }) {
</View>
)}
{/* Unmute pill zawsze widoczny gdy wyciszone (poza fade controls), bo start jest
muted i user musi wiedzieć jak włączyć dźwięk. Tap unmute. */}
{muted && (
<Pressable onPress={toggleMute} style={styles.unmutePill} hitSlop={12}>
<Text style={styles.unmutePillText}>🔇 Tap for sound</Text>
</Pressable>
)}
{/* Controls overlay pointerEvents box-none żeby gesture overlay pod spodem
dalej dostawał taps poza interactive elements (back, play, scrubber). */}
<Animated.View
@ -1641,18 +1633,4 @@ const styles = StyleSheet.create({
borderRadius: 14,
overflow: 'hidden',
},
unmutePill: {
position: 'absolute',
bottom: 96,
alignSelf: 'center',
backgroundColor: 'rgba(0,0,0,0.78)',
paddingVertical: 8,
paddingHorizontal: 16,
borderRadius: 18,
},
unmutePillText: {
color: theme.fg,
fontSize: 14,
fontWeight: '700',
},
});