浏览代码

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 年之前
父节点
当前提交
ad4783012b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      iOSClient/Utility/NCUtility.swift

+ 1 - 0
iOSClient/Utility/NCUtility.swift

@@ -530,6 +530,7 @@ class NCUtility: NSObject {
                 }
             }
             guard let videoResource = videoResource else { return queue.async { completion(true) }}
+            NCUtilityFileSystem.shared.deleteFile(filePath: fileNamePath)
             PHAssetResourceManager.default().writeData(for: videoResource, toFile: URL(fileURLWithPath: fileNamePath), options: nil) { error in
                 queue.async { completion(error != nil) }
             }