Просмотр исходного кода

[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é 8 лет назад
Родитель
Сommit
d57b0547f3
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      react/features/mobile/full-screen/middleware.js

+ 2
- 2
react/features/mobile/full-screen/middleware.js Просмотреть файл

@@ -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
 

Загрузка…
Отмена
Сохранить