From ef030954e96582141824b13b9b43a73ca92af7a5 Mon Sep 17 00:00:00 2001 From: REIS Benjamin Date: Fri, 21 Oct 2016 15:01:52 +0200 Subject: [PATCH] Fix litle UI bugs in contactLists on IPAD --- Classes/ContactDetailsView.m | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Classes/ContactDetailsView.m b/Classes/ContactDetailsView.m index cd1cf3992..1b7f3ae39 100644 --- a/Classes/ContactDetailsView.m +++ b/Classes/ContactDetailsView.m @@ -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; + } } }