Browse Source

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 years ago
parent
commit
d731968ee8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      iOSClient/AppDelegate.swift

+ 3 - 3
iOSClient/AppDelegate.swift

@@ -249,6 +249,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
             showPrivacyProtectionWindow()
         }
 
+        // STOP UPLOAD PROCESS
+        NCNetworkingProcessUpload.shared.stopTimer()
+
         // Reload Widget
         WidgetCenter.shared.reloadAllTimelines()
 
@@ -272,9 +275,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
 
         NKCommon.shared.writeLog("[INFO] Application did enter in background")
 
-        // STOP UPLOAD PROCESS
-        NCNetworkingProcessUpload.shared.stopTimer()
-
         scheduleAppRefresh()
         scheduleAppProcessing()