From fe1e68f1971d5ec00cd4913ce771a708946d893e Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Mon, 28 Jul 2025 09:55:02 +0200 Subject: [PATCH] Fix BottomSheet height in CallView --- Linphone/UI/Call/CallView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Linphone/UI/Call/CallView.swift b/Linphone/UI/Call/CallView.swift index 8b533896b..78c1cab1b 100644 --- a/Linphone/UI/Call/CallView.swift +++ b/Linphone/UI/Call/CallView.swift @@ -458,13 +458,13 @@ struct CallView: View { simpleCallView(geometry: geometry) .frame( width: geometry.size.width, - height: geometry.size.height + geometry.safeAreaInsets.top + geometry.safeAreaInsets.bottom + height: geometry.size.height + geometry.safeAreaInsets.bottom + (callViewModel.calls.count > 1 ? 40 : geometry.safeAreaInsets.top) ) } if !fullscreenVideo || (fullscreenVideo && telecomManager.isPausedByRemote) { if telecomManager.callStarted { - let minHeight = (minBottomSheetHeight * geometry.size.height) + topBarHeight + let minHeight = (minBottomSheetHeight * geometry.size.height) + topBarHeight let maxHeight = (maxBottomSheetHeight * geometry.size.height) + topBarHeight BottomSheetView( content: bottomSheetContent(geo: geometry),