Browse Source

fix lint warning

cyberta 4 years ago
parent
commit
acc384e291
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deltachat-ios/Chat/Views/DraftArea.swift

+ 1 - 1
deltachat-ios/Chat/Views/DraftArea.swift

@@ -12,7 +12,7 @@ public class DraftArea: UIView, InputItem {
     public func keyboardEditingEndsAction() {}
     public func keyboardEditingBeginsAction() {}
 
-    weak var delegate: DraftPreviewDelegate? {
+    var delegate: DraftPreviewDelegate? {
         set {
             quotePreview.delegate = newValue
             mediaPreview.delegate = newValue