From f4bf717ffeba9f43cf7c49b458f04c6093b669f1 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Mon, 11 Dec 2017 12:05:52 +0100 Subject: [PATCH] fix ui --- Classes/ChatConversationCreateTableView.m | 1 - Classes/ChatConversationCreateView.m | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Classes/ChatConversationCreateTableView.m b/Classes/ChatConversationCreateTableView.m index 2ad701535..b97526a0c 100644 --- a/Classes/ChatConversationCreateTableView.m +++ b/Classes/ChatConversationCreateTableView.m @@ -129,7 +129,6 @@ || (contact.friend && linphone_presence_model_get_basic_status(linphone_friend_get_presence_model(contact.friend)) == LinphonePresenceBasicStatusOpen); cell.linphoneImage.hidden = !linphoneContact; cell.addressLabel.text = key; - cell.selectedImage.hidden = ![_contactsGroup containsObject:cell.addressLabel.text]; return cell; diff --git a/Classes/ChatConversationCreateView.m b/Classes/ChatConversationCreateView.m index 7f310993c..b24fb742f 100644 --- a/Classes/ChatConversationCreateView.m +++ b/Classes/ChatConversationCreateView.m @@ -67,6 +67,11 @@ static UICompositeViewDescription *compositeDescription = nil; _tableController.searchBar.frame.origin.y + _tableController.searchBar.frame.size.height, _tableController.tableView.frame.size.width, _tableController.tableView.frame.size.height + _collectionView.frame.size.height); + } else { + _tableController.tableView.frame = CGRectMake(_tableController.tableView.frame.origin.x, + _collectionView.frame.origin.y + _collectionView.frame.size.height, + _tableController.tableView.frame.size.width, + _tableController.tableView.frame.size.height); } [_collectionView reloadData]; _tableController.isForEditing = _isForEditing;