[RN] Fix setting full-screen when joining a conference
HIDE_DIALOG happens between WILL_JOIN and JOINED so get the joining conference from the state instead of the action.
This commit is contained in:
parent
8b0cd310e3
commit
d57b0547f3
|
@ -43,10 +43,10 @@ MiddlewareRegistry.register(({ getState }) => next => action => {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { audioOnly, conference }
|
const { audioOnly, conference, joining }
|
||||||
= getState()['features/base/conference'];
|
= getState()['features/base/conference'];
|
||||||
|
|
||||||
fullScreen = conference || action.conference ? !audioOnly : false;
|
fullScreen = conference || joining ? !audioOnly : false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue