mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Fix UI bug : display _backButton in dialer when rotation and at least one call
This commit is contained in:
parent
5f5385645a
commit
4b1f07d26c
1 changed files with 7 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue