feat(conference/native): disabled PiP on WelcomePage (#11801)

* feat(conference/native): disabled PiP on WelcomePage
This commit is contained in:
Calinteodor 2022-07-06 18:14:41 +03:00 committed by GitHub
parent 47bdf800e7
commit 4a4856f3de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -569,6 +569,9 @@ export default withSafeAreaInsets(connect(_mapStateToProps)(props => {
} else {
setPictureInPictureEnabled(false);
}
// We also need to disable PiP when we are back on the WelcomePage
return () => setPictureInPictureEnabled(false);
}, [ isFocused ]);
return (