Explorar o código

update send button after document was added as draft

cyberta %!s(int64=4) %!d(string=hai) anos
pai
achega
f94466ae35
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      deltachat-ios/Chat/Views/DocumentPreview.swift

+ 1 - 0
deltachat-ios/Chat/Views/DocumentPreview.swift

@@ -36,6 +36,7 @@ public class DocumentPreview: DraftPreview {
             tmpMsg.setFile(filepath: path)
             tmpMsg.text = draft.draftText
             fileView.configure(message: tmpMsg)
+            self.delegate?.onAttachmentAdded()
             isHidden = false
         } else {
             isHidden = true