mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Auto-size contact cells everywhere.
This commit is contained in:
parent
dd49c6225f
commit
c1e1a52695
|
@ -44,7 +44,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
[_tableViewController.view autoPinToTopLayoutGuideOfViewController:self withInset:0];
|
||||
[_tableViewController.view autoPinEdgeToSuperviewEdge:ALEdgeBottom];
|
||||
self.tableViewController.tableView.rowHeight = UITableViewAutomaticDimension;
|
||||
// self.tableView.estimatedRowHeight = 60;
|
||||
|
||||
[self updateTableContents];
|
||||
}
|
||||
|
|
|
@ -44,7 +44,6 @@ int const OWSLinkedDevicesTableViewControllerSectionAddDevice = 1;
|
|||
|
||||
self.isExpectingMoreDevices = NO;
|
||||
self.tableView.rowHeight = UITableViewAutomaticDimension;
|
||||
self.tableView.estimatedRowHeight = 70;
|
||||
|
||||
[self.tableView applyScrollViewInsetsFix];
|
||||
|
||||
|
|
|
@ -49,7 +49,6 @@ class ConversationSearchViewController: UITableViewController {
|
|||
blockedPhoneNumberSet = Set(blockingManager.blockedPhoneNumbers())
|
||||
|
||||
tableView.rowHeight = UITableViewAutomaticDimension
|
||||
tableView.estimatedRowHeight = 60
|
||||
|
||||
tableView.register(EmptySearchResultCell.self, forCellReuseIdentifier: EmptySearchResultCell.reuseIdentifier)
|
||||
tableView.register(HomeViewCell.self, forCellReuseIdentifier: HomeViewCell.cellReuseIdentifier())
|
||||
|
|
|
@ -230,7 +230,6 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations
|
|||
[self.tableView autoPinEdgeToSuperviewEdge:ALEdgeBottom];
|
||||
[self.tableView autoPinEdge:ALEdgeTop toEdge:ALEdgeBottom ofView:missingContactsPermissionView];
|
||||
self.tableView.rowHeight = UITableViewAutomaticDimension;
|
||||
self.tableView.estimatedRowHeight = 60;
|
||||
|
||||
UILabel *emptyBoxLabel = [UILabel new];
|
||||
self.emptyBoxLabel = emptyBoxLabel;
|
||||
|
|
|
@ -125,7 +125,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
[_tableViewController.view autoPinWidthToSuperview];
|
||||
|
||||
self.tableViewController.tableView.rowHeight = UITableViewAutomaticDimension;
|
||||
self.tableViewController.tableView.estimatedRowHeight = 60;
|
||||
|
||||
[_tableViewController.view autoPinEdge:ALEdgeTop toEdge:ALEdgeBottom ofView:contactsPermissionReminderView];
|
||||
[self autoPinViewToBottomOfViewControllerOrKeyboard:self.tableViewController.view];
|
||||
|
|
Loading…
Reference in a new issue