Revert "Temporarily enable image editor."
This reverts commit 1078756bc6.
This commit is contained in:
parent
aba6eb329d
commit
6cae61bf18
@ -782,6 +782,7 @@ public class AttachmentPrepViewController: OWSViewController, PlayerProgressBarD
|
||||
containerView.addSubview(mediaMessageView)
|
||||
mediaMessageView.autoPinEdgesToSuperviewEdges()
|
||||
|
||||
#if DEBUG
|
||||
if let imageEditorModel = attachmentItem.imageEditorModel {
|
||||
|
||||
let imageEditorView = ImageEditorView(model: imageEditorModel, delegate: self)
|
||||
@ -797,6 +798,7 @@ public class AttachmentPrepViewController: OWSViewController, PlayerProgressBarD
|
||||
viewController: self)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if isZoomable {
|
||||
// Add top and bottom gradients to ensure toolbar controls are legible
|
||||
|
||||
@ -273,7 +273,7 @@ public class ImageEditorModel: NSObject {
|
||||
|
||||
@objc
|
||||
public static var isFeatureEnabled: Bool {
|
||||
return true
|
||||
return _isDebugAssertConfiguration()
|
||||
}
|
||||
|
||||
@objc
|
||||
|
||||
Loading…
Reference in New Issue
Block a user