[Video] Resume background audio whenever muting video audio (#4915)

This commit is contained in:
Hailey
2024-08-09 16:52:23 -07:00
committed by GitHub
parent c2131bb039
commit 65d6e561d4
6 changed files with 28 additions and 17 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ function App() {
React.useEffect(() => {
PlatformInfo.setAudioCategory(AudioCategory.Ambient)
PlatformInfo.setAudioMixWithOthers(true)
PlatformInfo.setAudioActive(true)
initPersistedState().then(() => setReady(true))
}, [])