Fix "contact cell too close to edge" in detail view (iOS9/iOS10)

Don't mix concepts of left/right with leading/trailing.
pull/1/head
Michael Kirk 7 years ago
parent 7d0733fa88
commit 9df6b4bb78

@ -261,7 +261,7 @@ class MessageDetailViewController: OWSViewController, MediaGalleryDataSourceDele
let wrapper = UIView() let wrapper = UIView()
wrapper.layoutMargins = UIEdgeInsets(top: 8, left: 20, bottom: 8, right: 20) wrapper.layoutMargins = UIEdgeInsets(top: 8, left: 20, bottom: 8, right: 20)
wrapper.addSubview(cellView) wrapper.addSubview(cellView)
cellView.autoPinToSuperviewMargins() cellView.autoPinEdgesToSuperviewMargins()
groupRows.append(wrapper) groupRows.append(wrapper)
} }

Loading…
Cancel
Save