Ver código fonte

rn,filmstrip: ignore the 'visible' parameter on mobile

Mobile uses a different logic for deciding whether to show the filmstrip or not:
if there are more than 1 participants or not, and there is no way to manually
toggle it.
master
Saúl Ibarra Corretgé 6 anos atrás
pai
commit
0dc8c687f2
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      react/features/filmstrip/functions.native.js

+ 1
- 1
react/features/filmstrip/functions.native.js Ver arquivo

@@ -16,5 +16,5 @@ export function isFilmstripVisible(stateful: Object | Function) {
16 16
     const state = toState(stateful);
17 17
     const { length: participantCount } = state['features/base/participants'];
18 18
 
19
-    return state['features/filmstrip'].visible && participantCount > 1;
19
+    return participantCount > 1;
20 20
 }

Carregando…
Cancelar
Salvar