Skip to content
Snippets Groups Projects
Commit 6683acd6 authored by Amirhossein Naghshzan's avatar Amirhossein Naghshzan Committed by Amirhossein Naghshzan
Browse files

CallFragment: fix the gray screen in rendezvous mode

GitLab: #1112

Change-Id: Iffa5c5bc10e6175117ea76a17d26e8426c500ad7
parent 590270f8
No related branches found
No related tags found
No related merge requests found
......@@ -886,7 +886,8 @@ class CallFragment : BaseSupportFragment<CallPresenter, CallView>(), CallView,
private fun generateParticipantOverlay(participantsInfo: List<ParticipantInfo>) {
val overlayViewBinding = binding?.participantOverlayContainer ?: return
overlayViewBinding.participants = participantsInfo.filterNot {
binding?.previewContainer?.isVisible = participantsInfo.size > 1
overlayViewBinding.participants = if (participantsInfo.size == 1) participantsInfo else participantsInfo.filterNot {
it.contact.contact.isUser && it.device == presenter.getDeviceId()
}
overlayViewBinding.init()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment