mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
do not display admin button when it shouldn't
This commit is contained in:
parent
ec6046882e
commit
836f7c93e9
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
cell.adminLabel.enabled = FALSE;
|
||||
cell.adminImage.image = [UIImage imageNamed:@"check_unselected.png"];
|
||||
}
|
||||
cell.adminButton.hidden = _create || (!_imAdmin && !cell.adminLabel.enabled);
|
||||
cell.adminButton.hidden = _create || (!_imAdmin && !cell.adminLabel.enabled) || ![_oldContacts containsObject:cell.uri];
|
||||
cell.adminButton.userInteractionEnabled = _imAdmin;
|
||||
cell.removeButton.hidden = !_create && !_imAdmin;
|
||||
linphone_address_unref(addr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue