feat(conference/native): disabled PiP on WelcomePage (#11801)
* feat(conference/native): disabled PiP on WelcomePage
This commit is contained in:
parent
47bdf800e7
commit
4a4856f3de
|
@ -569,6 +569,9 @@ export default withSafeAreaInsets(connect(_mapStateToProps)(props => {
|
||||||
} else {
|
} else {
|
||||||
setPictureInPictureEnabled(false);
|
setPictureInPictureEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We also need to disable PiP when we are back on the WelcomePage
|
||||||
|
return () => setPictureInPictureEnabled(false);
|
||||||
}, [ isFocused ]);
|
}, [ isFocused ]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue