Parcourir la source

fix(mobile-pagination):incorrect number of columns

master
Hristo Terezov il y a 4 ans
Parent
révision
aff976d53d
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      react/features/filmstrip/subscriber.native.js

+ 2
- 2
react/features/filmstrip/subscriber.native.js Voir le fichier

@@ -14,11 +14,11 @@ StateListenerRegistry.register(
14 14
     /* selector */ state => {
15 15
         const participantCount = getParticipantCountWithFake(state);
16 16
 
17
-        if (participantCount < 5) { // the dimensions are updated only when the participant count is lower than 5.
17
+        if (participantCount < 6) { // the dimensions are updated only when the participant count is lower than 6.
18 18
             return participantCount;
19 19
         }
20 20
 
21
-        return 4; // make sure we don't update the dimensions.
21
+        return 5; // make sure we don't update the dimensions.
22 22
     },
23 23
     /* listener */ (_, store) => {
24 24
         const state = store.getState();

Chargement…
Annuler
Enregistrer