Browse Source

[RN] Honor filmstrip visibility state

j8
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
  */
131
  */
132
 function _mapStateToProps(state) {
132
 function _mapStateToProps(state) {
133
     const participants = state['features/base/participants'];
133
     const participants = state['features/base/participants'];
134
+    const { visible } = state['features/filmstrip'];
134
 
135
 
135
     return {
136
     return {
136
         /**
137
         /**
149
          * @private
150
          * @private
150
          * @type {boolean}
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