marinofaggiana 4 年之前
父節點
當前提交
3269badbbf
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      iOSClient/Main/Create cloud/NCCreateFormUploadScanDocument.swift

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

@@ -755,7 +755,10 @@ class NCCreateScanDocument : NSObject, VNDocumentCameraViewControllerDelegate {
             NCUtilityFileSystem.shared.deleteFile(filePath: fileNamePath)
             do {
                 try image.pngData()?.write(to: NSURL.fileURL(withPath: fileNamePath))
-            } catch { }
+                
+            } catch {
+                
+            }
         }
         
         controller.dismiss(animated: true) {