Преглед изворни кода

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana пре 2 година
родитељ
комит
a5042ec3b5
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      iOSClient/AppDelegate.swift

+ 3 - 1
iOSClient/AppDelegate.swift

@@ -205,9 +205,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         // Start Auto Upload
         NCAutoUpload.shared.initAutoUpload(viewController: nil) { items in
             NKCommon.shared.writeLog("[INFO] Initialize Auto upload with \(items) uploads")
-            NCNetworkingProcessUpload.shared.startTimer()
         }
 
+        // START UPLOAD PROCESS
+        NCNetworkingProcessUpload.shared.startTimer()
+
         NotificationCenter.default.postOnMainThread(name: NCGlobal.shared.notificationCenterApplicationDidBecomeActive)
     }