Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[RN] Honor filmstrip visibility state

Saúl Ibarra Corretgé9e53d40b9cac
diff --git a/react/features/filmstrip/components/Filmstrip.native.js b/react/features/filmstrip/components/Filmstrip.native.js
index 4f294be1f3..26dc0a32b9 100644
--- a/react/features/filmstrip/components/Filmstrip.native.js
+++ b/react/features/filmstrip/components/Filmstrip.native.js
@@ -131,6 +131,7 @@ class Filmstrip extends Component<*> {
*/
function _mapStateToProps(state) {
const participants = state['features/base/participants'];
+ const { visible } = state['features/filmstrip'];
return {
/**
@@ -149,7 +150,7 @@ function _mapStateToProps(state) {
* @private
* @type {boolean}
*/
- _visible: participants.length > 1
+ _visible: visible && participants.length > 1
};
}