Fix message details layout in iPhone X.

pull/1/head
Matthew Chen 7 years ago
parent 7f6cdf7e6a
commit eb400114c2

@ -146,7 +146,7 @@ class MessageDetailViewController: OWSViewController, MediaGalleryDataSourceDele
UIBarButtonItem(barButtonSystemItem: .flexibleSpace, target: nil, action: nil) UIBarButtonItem(barButtonSystemItem: .flexibleSpace, target: nil, action: nil)
] ]
} else { } else {
scrollView.autoPin(toBottomLayoutGuideOf: self, withInset: 0) scrollView.autoPinEdge(toSuperviewEdge: .bottom)
} }
updateContent() updateContent()

Loading…
Cancel
Save