Revert "Temporarily enable image editor."

This reverts commit 1078756bc6.
This commit is contained in:
Matthew Chen 2019-03-01 16:49:35 -05:00
parent aba6eb329d
commit 6cae61bf18
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -273,7 +273,7 @@ public class ImageEditorModel: NSObject {
@objc
public static var isFeatureEnabled: Bool {
return true
return _isDebugAssertConfiguration()
}
@objc