From 0dc8c687f26996c74b43bb69dbc4e1a0a9b1cab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 20 Aug 2019 15:09:36 +0200 Subject: [PATCH] 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. --- react/features/filmstrip/functions.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/filmstrip/functions.native.js b/react/features/filmstrip/functions.native.js index ae2551789..f53fbfcef 100644 --- a/react/features/filmstrip/functions.native.js +++ b/react/features/filmstrip/functions.native.js @@ -16,5 +16,5 @@ export function isFilmstripVisible(stateful: Object | Function) { const state = toState(stateful); const { length: participantCount } = state['features/base/participants']; - return state['features/filmstrip'].visible && participantCount > 1; + return participantCount > 1; }