Bluesky app fork with some witchin' additions 💫

Fix GIFs breaking mute state/pausing phone audio (#9859)

* fix operator precedence mistake

* ensure gifs can't change the global mute state

authored by samuel.fm and committed by

GitHub 4eca1394 8580e4a0

+4 -2
+4 -2
src/components/Post/Embed/VideoEmbed/VideoEmbedInner/VideoEmbedInnerNative.tsx
··· 58 58 <BlueskyVideoView 59 59 url={embed.playlist} 60 60 autoplay={!autoplayDisabled && !isWithinMessage} 61 - beginMuted={isGif || autoplayDisabled ? false : muted} 61 + beginMuted={isGif || (autoplayDisabled ? false : muted)} 62 62 style={[a.rounded_sm]} 63 63 onActiveChange={e => { 64 64 setIsActive(e.nativeEvent.isActive) ··· 67 67 setIsLoading(e.nativeEvent.isLoading) 68 68 }} 69 69 onMutedChange={e => { 70 - setMuted(e.nativeEvent.isMuted) 70 + if (!isGif) { 71 + setMuted(e.nativeEvent.isMuted) 72 + } 71 73 }} 72 74 onStatusChange={e => { 73 75 setStatus(e.nativeEvent.status)