don't go back to contactLists when canceling a contact edition

This commit is contained in:
REIS Benjamin 2016-10-19 14:43:15 +02:00
parent dbee510584
commit 17bf94e2b9

View file

@ -287,6 +287,7 @@ static UICompositeViewDescription *compositeDescription = nil;
if (_contact.phoneNumbers.count + _contact.sipAddresses.count > 0) {
[self setEditing:FALSE];
[self resetData];
} else {
_emptyLabel.hidden = NO;
_avatarImage.hidden = !_emptyLabel.hidden;
_deleteButton.hidden = !_emptyLabel.hidden;