mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Fix litle UI bugs in contactLists on IPAD
This commit is contained in:
parent
0d03b378d5
commit
ef030954e9
1 changed files with 6 additions and 3 deletions
|
|
@ -191,9 +191,12 @@
|
|||
- (void)deviceOrientationDidChange:(NSNotification*)notif {
|
||||
if (IPAD) {
|
||||
if (self.contact == NULL || (self.contact.firstName == NULL && self.contact.lastName == NULL)) {
|
||||
_editButton.hidden = TRUE;
|
||||
_deleteButton.hidden = TRUE;
|
||||
_avatarImage.hidden = TRUE;
|
||||
if (! self.tableController.isEditing) {
|
||||
_editButton.hidden = TRUE;
|
||||
_deleteButton.hidden = TRUE;
|
||||
_avatarImage.hidden = TRUE;
|
||||
_emptyLabel.hidden = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue