浏览代码

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)
     }