marinofaggiana há 4 anos atrás
pai
commit
c34d2d9ac0
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      iOSClient/Networking/NCNetworking.swift

+ 5 - 1
iOSClient/Networking/NCNetworking.swift

@@ -438,7 +438,11 @@ import Queuer
                     NCManageDatabase.sharedInstance.addLocalFile(metadata: metadata)
                 }
                 
-                #if !EXTENSION                
+                
+                #if !EXTENSION
+                let appDelegate = UIApplication.shared.delegate as! AppDelegate
+                appDelegate.networkingAutoUpload.startProcess()
+
                 NotificationCenter.default.postOnMainThread(name: k_notificationCenter_uploadedFile, userInfo: ["metadata":metadata, "errorCode":errorCode, "errorDescription":""])
                 #endif