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

Don't mix concepts of left/right with leading/trailing.
This commit is contained in:
Michael Kirk 2018-07-13 16:24:45 -06:00
parent 7d0733fa88
commit 9df6b4bb78
1 changed files with 1 additions and 1 deletions

View File

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