Bluesky app fork with some witchin' additions 💫

[Video] Invert usage of `setAudioActive` (#4924)

authored by hailey.at and committed by

GitHub 134fcd35 7df23274

+3 -3
+1 -1
src/App.native.tsx
··· 159 159 160 160 React.useEffect(() => { 161 161 PlatformInfo.setAudioCategory(AudioCategory.Ambient) 162 - PlatformInfo.setAudioActive(true) 162 + PlatformInfo.setAudioActive(false) 163 163 initPersistedState().then(() => setReady(true)) 164 164 }, []) 165 165
+2 -2
src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx
··· 60 60 nativeControls={true} 61 61 onEnterFullscreen={() => { 62 62 PlatformInfo.setAudioCategory(AudioCategory.Playback) 63 - PlatformInfo.setAudioActive(false) 63 + PlatformInfo.setAudioActive(true) 64 64 player.muted = false 65 65 }} 66 66 onExitFullscreen={() => { 67 67 PlatformInfo.setAudioCategory(AudioCategory.Ambient) 68 - PlatformInfo.setAudioActive(true) 68 + PlatformInfo.setAudioActive(false) 69 69 player.muted = true 70 70 if (!player.playing) player.play() 71 71 }}