fix(rn,full-screen) make sure immersive mode respects the fullscreen flag
This commit is contained in:
parent
3bbfdb2846
commit
927b40ec71
|
@ -75,7 +75,8 @@ function _onImmersiveChange({ getState }) {
|
|||
const { enabled: audioOnly } = state['features/base/audio-only'];
|
||||
const conference = getCurrentConference(state);
|
||||
const dialogOpen = isAnyDialogOpen(state);
|
||||
const fullScreen = conference ? !audioOnly && !dialogOpen : false;
|
||||
const fullscreenEnabled = getFeatureFlag(state, FULLSCREEN_ENABLED, true);
|
||||
const fullScreen = conference ? !audioOnly && !dialogOpen && fullscreenEnabled : false;
|
||||
|
||||
_setFullScreen(fullScreen);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue