marinofaggiana 4 년 전
부모
커밋
4bcbd1f120
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  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()