mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Enable image editor in production.
This commit is contained in:
parent
89dce94986
commit
3795fd1381
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -43,7 +43,7 @@ public class ImageEditorModel: NSObject {
|
|||
|
||||
@objc
|
||||
public static var isFeatureEnabled: Bool {
|
||||
return _isDebugAssertConfiguration()
|
||||
return true
|
||||
}
|
||||
|
||||
@objc
|
||||
|
|
Loading…
Reference in a new issue