fix(mobile-pagination):incorrect number of columns

pull/9829/head
Hristo Terezov 4 years ago
parent c2ffcdc67e
commit aff976d53d
  1. 4
      react/features/filmstrip/subscriber.native.js

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

Loading…
Cancel
Save