Skip to content

Commit b447794

Browse files
Fix compose layout on iPhone X
1 parent 3c8b6c7 commit b447794

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ChatSecure/Classes/View Controllers/OTRComposeViewController.m

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,7 @@ - (void)viewDidLoad
124124

125125
[self.tableView registerClass:[OTRBuddyInfoCell class] forCellReuseIdentifier:[OTRBuddyInfoCell reuseIdentifier]];
126126

127-
//[self.tableView autoPinToTopLayoutGuideOfViewController:self withInset:0.0];
128-
[self.tableView autoPinEdgeToSuperviewEdge:ALEdgeTop];
129-
[self.tableView autoPinEdgeToSuperviewEdge:ALEdgeTrailing];
130-
[self.tableView autoPinEdgeToSuperviewEdge:ALEdgeLeading];
131-
self.tableViewBottomConstraint = [self.tableView autoPinToBottomLayoutGuideOfViewController:self withInset:0.0];
127+
[self.tableView autoPinEdgesToSuperviewEdges];
132128

133129
[self setupSearchController];
134130

0 commit comments

Comments
 (0)