Fixed switch to grid layout in conference if there is exactly 6 participants

This commit is contained in:
Sylvain Berfini 2024-04-29 13:21:24 +02:00
parent 0dbd403d5b
commit 0239d3a3a6

View file

@ -70,7 +70,7 @@ class ConferenceLayoutMenuDialogFragment(
view.viewModel = conferenceModel
view.setGridClickListener {
if (conferenceModel.participantDevices.value.orEmpty().size < 6) {
if (conferenceModel.participantDevices.value.orEmpty().size < 7) {
conferenceModel.changeLayout(ConferenceViewModel.GRID_LAYOUT)
dismiss()
} else {