Fixed issue with active speaker layout

This commit is contained in:
Sylvain Berfini 2022-10-03 10:30:51 +02:00
parent 04ae18c1ae
commit db8b6f2dfb

View file

@ -102,7 +102,7 @@ class ConferenceViewModel : ViewModel() {
if (conferenceParticipantDevices.value.orEmpty().size == 2) {
secondParticipantJoinedEvent.value = Event(true)
} else if (conferenceParticipantDevices.value.orEmpty().size == 3) {
} else if (conferenceParticipantDevices.value.orEmpty().size > 2) {
moreThanTwoParticipantsJoinedEvent.value = Event(true)
}
}