mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Disable picture-in-picture mode
This commit is contained in:
parent
9d861a7b81
commit
bf4e6fd23c
1 changed files with 4 additions and 2 deletions
|
|
@ -562,7 +562,8 @@ struct CallView: View {
|
|||
if callViewModel.videoDisplayed {
|
||||
if !callViewModel.isPaused && TelecomManager.shared.callInProgress
|
||||
&& !(coreContext.pipViewModel.pipController?.isPictureInPictureActive ?? false) {
|
||||
coreContext.pipViewModel.pipController?.startPictureInPicture()
|
||||
// TODO: Enable PIP in 6.1
|
||||
//coreContext.pipViewModel.pipController?.startPictureInPicture()
|
||||
}
|
||||
callViewModel.videoDisplayed = false
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
|
||||
|
|
@ -879,7 +880,8 @@ struct CallView: View {
|
|||
.onDisappear {
|
||||
if !callViewModel.isPaused && TelecomManager.shared.callInProgress
|
||||
&& !(coreContext.pipViewModel.pipController?.isPictureInPictureActive ?? false) {
|
||||
coreContext.pipViewModel.pipController?.startPictureInPicture()
|
||||
// TODO: Enable PIP in 6.1
|
||||
//coreContext.pipViewModel.pipController?.startPictureInPicture()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue