mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Fix invalid view state after a transfert of outgoing call
This commit is contained in:
parent
329302793a
commit
4507faf34f
1 changed files with 2 additions and 2 deletions
|
|
@ -320,8 +320,8 @@
|
|||
|
||||
-(void) displayInCall: (LinphoneCall*) call FromUI:(UIViewController*) viewCtrl forUser:(NSString*) username withDisplayName:(NSString*) displayName {
|
||||
[mMainScreenWithVideoPreview showPreview:NO];
|
||||
if (self.presentedViewController != (UIViewController*)mIncallViewController && (call == 0x0 ||
|
||||
linphone_call_get_dir(call)==LinphoneCallIncoming)){
|
||||
if (self.presentedViewController != (UIViewController*)mIncallViewController /*&& (call == 0x0 ||
|
||||
linphone_call_get_dir(call)==LinphoneCallIncoming)*/){
|
||||
[self presentModalViewController:(UIViewController*)mIncallViewController animated:true];
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue