diff --git a/Classes/DialerView.m b/Classes/DialerView.m index b09b2224d..766085646 100644 --- a/Classes/DialerView.m +++ b/Classes/DialerView.m @@ -169,6 +169,13 @@ static UICompositeViewDescription *compositeDescription = nil; frame.origin = CGPointMake(0, 0); _videoPreview.frame = frame; _padView.hidden = !IPAD && UIInterfaceOrientationIsLandscape(toInterfaceOrientation); + if (linphone_core_get_calls_nb(LC)) { + _backButton.hidden = FALSE; + _addContactButton.hidden = TRUE; + } else { + _backButton.hidden = TRUE; + _addContactButton.hidden = FALSE; + } } - (void)viewDidAppear:(BOOL)animated {