fix(tile-view, rn) Fix tile view in landscape (#11749)

Increase number of max columns to 4
This commit is contained in:
Robert Pintilii 2022-06-27 13:20:58 +01:00 committed by GitHub
parent 7b538fc3e9
commit ec47f530bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ export function getColumnCount(stateful: Object | Function) {
return 2;
}
return Math.min(3, participantCount);
return Math.min(participantCount <= 6 ? 3 : 4, participantCount);
}
/**