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