소스 검색

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…
취소
저장