marinofaggiana 4 years ago
parent
commit
4bcbd1f120
1 changed files with 1 additions and 4 deletions
  1. 1 4
      iOSClient/Main/Create cloud/NCCreateFormUploadDocuments.swift

+ 1 - 4
iOSClient/Main/Create cloud/NCCreateFormUploadDocuments.swift

@@ -381,14 +381,11 @@ import NCCommunication
         indicator.startAnimating()
         
         if self.editorId == k_editor_text || self.editorId == k_editor_onlyoffice {
-            
-            fileNameExtension = "md"
+                        
             var customUserAgent: String?
-                       
             if self.editorId == k_editor_onlyoffice {
                 customUserAgent = NCUtility.shared.getCustomUserAgentOnlyOffice()
             }
-            
             NCCommunication.shared.NCTextGetListOfTemplates(customUserAgent: customUserAgent) { (account, templates, errorCode, errorMessage) in
                 
                 self.indicator.stopAnimating()