mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Fix BottomSheet height in CallView
This commit is contained in:
parent
6626a0d1a1
commit
fe1e68f197
1 changed files with 2 additions and 2 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue