Browse Source

fix(mobile-pagination):incorrect number of columns

master
Hristo Terezov 4 years ago
parent
commit
aff976d53d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      react/features/filmstrip/subscriber.native.js

+ 2
- 2
react/features/filmstrip/subscriber.native.js View File

14
     /* selector */ state => {
14
     /* selector */ state => {
15
         const participantCount = getParticipantCountWithFake(state);
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
             return participantCount;
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
     /* listener */ (_, store) => {
23
     /* listener */ (_, store) => {
24
         const state = store.getState();
24
         const state = store.getState();

Loading…
Cancel
Save