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:
parent
c5abdc1186
commit
bc72515227
1 changed files with 0 additions and 22 deletions
|
|
@ -648,14 +648,6 @@ function NativeVideoPlayer({ params }: { params: RouteParams }) {
|
||||||
</View>
|
</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
|
{/* Controls overlay — pointerEvents box-none żeby gesture overlay pod spodem
|
||||||
dalej dostawał taps poza interactive elements (back, play, scrubber). */}
|
dalej dostawał taps poza interactive elements (back, play, scrubber). */}
|
||||||
<Animated.View
|
<Animated.View
|
||||||
|
|
@ -1641,18 +1633,4 @@ const styles = StyleSheet.create({
|
||||||
borderRadius: 14,
|
borderRadius: 14,
|
||||||
overflow: 'hidden',
|
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',
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue