Pārlūkot izejas kodu

[RN] Honor filmstrip visibility state

master
Saúl Ibarra Corretgé 7 gadus atpakaļ
vecāks
revīzija
9e53d40b9c

+ 2
- 1
react/features/filmstrip/components/Filmstrip.native.js Parādīt failu

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
 

Notiek ielāde…
Atcelt
Saglabāt