Преглед изворни кода

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 година
родитељ
комит
0dc8c687f2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      react/features/filmstrip/functions.native.js

+ 1
- 1
react/features/filmstrip/functions.native.js Прегледај датотеку

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

Loading…
Откажи
Сачувај