marinofaggiana hace 6 años
padre
commit
c51a57ea6e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      iOSClient/Main/Create cloud/NCCreateFormUploadVoiceNote.swift

+ 1 - 0
iOSClient/Main/Create cloud/NCCreateFormUploadVoiceNote.swift

@@ -208,6 +208,7 @@ class NCCreateFormUploadVoiceNote: XLFormViewController, NCSelectDelegate {
     
     @objc func cancel() {
         
+        try? FileManager.default.removeItem(atPath: fileNamePath)
         self.dismiss(animated: true, completion: nil)
     }