Explorar el Código

fix code

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana hace 2 años
padre
commit
c1dc44599e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      iOSClient/Utility/NCUtility.swift

+ 2 - 2
iOSClient/Utility/NCUtility.swift

@@ -559,11 +559,11 @@ class NCUtility: NSObject {
                         hud.progress = exporter.progress
                     }
                 } else {
-                    callCompletionWithError()
+                    return callCompletionWithError()
                 }
             }
         } else {
-            callCompletionWithError()
+            return callCompletionWithError()
         }
     }