mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Respond to CR.
This commit is contained in:
parent
69635fafac
commit
0ce84b7929
3 changed files with 4 additions and 4 deletions
|
@ -91,7 +91,7 @@ public class ImageEditorCanvasView: UIView {
|
|||
strongSelf.updateAllContent()
|
||||
}
|
||||
clipView.addSubview(contentView)
|
||||
contentView.ows_autoPinToSuperviewEdges()
|
||||
contentView.autoPinEdgesToSuperviewEdges()
|
||||
|
||||
updateLayout()
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ class ImageEditorCropViewController: OWSViewController {
|
|||
strongSelf.updateContent()
|
||||
}
|
||||
clipView.addSubview(contentView)
|
||||
contentView.ows_autoPinToSuperviewEdges()
|
||||
contentView.autoPinEdgesToSuperviewEdges()
|
||||
|
||||
// MARK: - Footer
|
||||
|
||||
|
@ -170,7 +170,7 @@ class ImageEditorCropViewController: OWSViewController {
|
|||
stackView.layoutMargins = UIEdgeInsets(top: 16, left: 20, bottom: 16, right: 20)
|
||||
stackView.isLayoutMarginsRelativeArrangement = true
|
||||
self.view.addSubview(stackView)
|
||||
stackView.ows_autoPinToSuperviewEdges()
|
||||
stackView.autoPinEdgesToSuperviewEdges()
|
||||
|
||||
// MARK: - Crop View
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ public class ImageEditorView: UIView {
|
|||
return false
|
||||
}
|
||||
self.addSubview(canvasView)
|
||||
canvasView.ows_autoPinToSuperviewEdges()
|
||||
canvasView.autoPinEdgesToSuperviewEdges()
|
||||
|
||||
self.isUserInteractionEnabled = true
|
||||
|
||||
|
|
Loading…
Reference in a new issue