瀏覽代碼

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…
取消
儲存