Temporarily enable image editor.

This commit is contained in:
Matthew Chen 2019-03-01 16:49:10 -05:00
parent 0ad6b26855
commit 49685c52bb
2 changed files with 1 additions and 3 deletions

View file

@ -782,7 +782,6 @@ public class AttachmentPrepViewController: OWSViewController, PlayerProgressBarD
containerView.addSubview(mediaMessageView)
mediaMessageView.autoPinEdgesToSuperviewEdges()
#if DEBUG
if let imageEditorModel = attachmentItem.imageEditorModel {
let imageEditorView = ImageEditorView(model: imageEditorModel, delegate: self)
@ -798,7 +797,6 @@ 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 _isDebugAssertConfiguration()
return true
}
@objc