marinofaggiana 5 年之前
父节点
当前提交
64783597a2
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 1 0
      iOSClient/Networking/NCCommunication.swift
  2. 4 0
      iOSClient/Networking/NCCommunicationModel.swift

+ 1 - 0
iOSClient/Networking/NCCommunication.swift

@@ -64,6 +64,7 @@ class NCCommunication: NSObject {
         do {
             try url = path.asURL()
         } catch _ {
+            completionHandler(nil, nil)
             return
         }
         

+ 4 - 0
iOSClient/Networking/NCCommunicationModel.swift

@@ -23,6 +23,8 @@
 
 import Foundation
 
+//MARK: -
+//MARK: File
 
 @objc class NCFile: NSObject {
     private override init() {}
@@ -53,3 +55,5 @@ import Foundation
     let trashbinOriginalLocation = ""
     let trashbinDeletionTime = NSDate()
 }
+
+//MARK: -