forked from mirrors/linphone-iphone
Always Hide edit/delete buttons for LDAP contact details view (could still appear if accessed through a “previous” button)
This commit is contained in:
parent
3bd0987a78
commit
eb0929899a
1 changed files with 3 additions and 0 deletions
|
|
@ -284,6 +284,9 @@
|
|||
if (IPAD && self.contact == NULL) {
|
||||
_editButton.hidden = TRUE;
|
||||
_deleteButton.hidden = TRUE;
|
||||
} else if (self.contact != NULL && self.contact.createdFromLdap) {
|
||||
_editButton.hidden = TRUE;
|
||||
_deleteButton.hidden = TRUE;
|
||||
}
|
||||
PhoneMainView.instance.currentName = _nameLabel.text;
|
||||
// Update presence for contact
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue