mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
Fix ipad crash when receiving a new call while a call already exists
This commit is contained in:
parent
45475ed3c5
commit
f576d18460
1 changed files with 8 additions and 1 deletions
|
|
@ -268,7 +268,14 @@
|
|||
otherButtonTitles:nil];
|
||||
|
||||
mIncomingCallActionSheet.actionSheetStyle = UIActionSheetStyleDefault;
|
||||
[mIncomingCallActionSheet showInView:self.parentViewController.view];
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
if (self.modalViewController != nil)
|
||||
[mIncomingCallActionSheet showInView:[self.modalViewController view]];
|
||||
else
|
||||
[mIncomingCallActionSheet showInView:self.parentViewController.view];
|
||||
} else {
|
||||
[mIncomingCallActionSheet showInView:self.parentViewController.view];
|
||||
}
|
||||
[mIncomingCallActionSheet release];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue