mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Should fix #484
This commit is contained in:
@ -64,7 +64,7 @@ const AttachmentVideo: React.FC<Props> = ({
|
||||
}, [])
|
||||
const _handleAppStateChange = async (nextAppState: AppStateStatus) => {
|
||||
if (appState.current.match(/active/) && nextAppState.match(/inactive/)) {
|
||||
await videoPlayer.current?.stopAsync()
|
||||
// await videoPlayer.current?.stopAsync()
|
||||
} else if (gifv && appState.current.match(/background/) && nextAppState.match(/active/)) {
|
||||
await videoPlayer.current?.setIsMutedAsync(true)
|
||||
await videoPlayer.current?.playAsync()
|
||||
|
Reference in New Issue
Block a user