Browse Source

[RN] Honor filmstrip visibility state

master
Saúl Ibarra Corretgé 7 years ago
parent
commit
9e53d40b9c
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      react/features/filmstrip/components/Filmstrip.native.js

+ 2
- 1
react/features/filmstrip/components/Filmstrip.native.js View File

@@ -131,6 +131,7 @@ class Filmstrip extends Component<*> {
131 131
  */
132 132
 function _mapStateToProps(state) {
133 133
     const participants = state['features/base/participants'];
134
+    const { visible } = state['features/filmstrip'];
134 135
 
135 136
     return {
136 137
         /**
@@ -149,7 +150,7 @@ function _mapStateToProps(state) {
149 150
          * @private
150 151
          * @type {boolean}
151 152
          */
152
-        _visible: participants.length > 1
153
+        _visible: visible && participants.length > 1
153 154
     };
154 155
 }
155 156
 

Loading…
Cancel
Save