Procházet zdrojové kódy

update send button after document was added as draft

cyberta před 4 roky
rodič
revize
f94466ae35
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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