marinofaggiana 4 vuotta sitten
vanhempi
commit
3269badbbf

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

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