Pārlūkot izejas kodu

[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.
master
Saúl Ibarra Corretgé 7 gadus atpakaļ
vecāks
revīzija
d57b0547f3
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      react/features/mobile/full-screen/middleware.js

+ 2
- 2
react/features/mobile/full-screen/middleware.js Parādīt failu

@@ -43,10 +43,10 @@ MiddlewareRegistry.register(({ getState }) => next => action => {
43 43
             break;
44 44
         }
45 45
 
46
-        const { audioOnly, conference }
46
+        const { audioOnly, conference, joining }
47 47
             = getState()['features/base/conference'];
48 48
 
49
-        fullScreen = conference || action.conference ? !audioOnly : false;
49
+        fullScreen = conference || joining ? !audioOnly : false;
50 50
         break;
51 51
     }
52 52
 

Notiek ielāde…
Atcelt
Saglabāt