From e2432683ae0c3b6e69979503b8cbbd6b6ae18bf0 Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Tue, 22 Jul 2025 11:37:14 +0200 Subject: [PATCH] Fix "Add Participant" button on call screen --- Linphone/UI/Call/CallView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Linphone/UI/Call/CallView.swift b/Linphone/UI/Call/CallView.swift index d28349e51..147a9e366 100644 --- a/Linphone/UI/Call/CallView.swift +++ b/Linphone/UI/Call/CallView.swift @@ -188,6 +188,7 @@ struct CallView: View { CallsListFragment(callViewModel: callViewModel, isShowCallsListFragment: $isShowCallsListFragment) .zIndex(4) .transition(.move(edge: .bottom)) + .padding(.bottom, geo.safeAreaInsets.top + geo.safeAreaInsets.bottom) } if isShowParticipantsListFragment { @@ -197,6 +198,7 @@ struct CallView: View { .onAppear { addParticipantsViewModel = AddParticipantsViewModel() } + .padding(.bottom, geo.safeAreaInsets.top + geo.safeAreaInsets.bottom) } if callViewModel.zrtpPopupDisplayed == true { @@ -207,9 +209,11 @@ struct CallView: View { && buttonSize != 45 { ZRTPPopup(callViewModel: callViewModel, resizeView: 1.5) .background(.black.opacity(0.65)) + .padding(.bottom, geo.safeAreaInsets.top + geo.safeAreaInsets.bottom) } else { ZRTPPopup(callViewModel: callViewModel, resizeView: buttonSize == 45 ? 1.5 : 1) .background(.black.opacity(0.65)) + .padding(.bottom, geo.safeAreaInsets.top + geo.safeAreaInsets.bottom) } }