[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.
pull/2045/head
Saúl Ibarra Corretgé 8 years ago
parent 8b0cd310e3
commit d57b0547f3
  1. 4
      react/features/mobile/full-screen/middleware.js

@ -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…
Cancel
Save