Enable image editor in production.

This commit is contained in:
Matthew Chen 2019-03-01 16:49:10 -05:00
parent 89dce94986
commit 3795fd1381
2 changed files with 1 additions and 3 deletions

View file

@ -112,7 +112,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)
@ -127,7 +126,6 @@ public class AttachmentPrepViewController: OWSViewController, PlayerProgressBarD
imageEditorUpdateNavigationBar()
}
}
#endif
// Hide the play button embedded in the MediaView and replace it with our own.
// This allows us to zoom in on the media view without zooming in on the button

View file

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