Sfoglia il codice sorgente

[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 anni fa
parent
commit
d57b0547f3
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      react/features/mobile/full-screen/middleware.js

+ 2
- 2
react/features/mobile/full-screen/middleware.js Vedi File

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

Loading…
Annulla
Salva