Explorar el Código

update send button after document was added as draft

cyberta hace 4 años
padre
commit
f94466ae35
Se han modificado 1 ficheros con 1 adiciones y 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