Procházet zdrojové kódy

fix code

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana před 2 roky
rodič
revize
c1dc44599e
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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()
         }
     }