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:
parent
7d0733fa88
commit
9df6b4bb78
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue