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.
This commit is contained in:
Saúl Ibarra Corretgé 2019-08-20 15:09:36 +02:00 committed by Saúl Ibarra Corretgé
parent c65d29d1a7
commit 0dc8c687f2
1 changed files with 1 additions and 1 deletions

View File

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