Selaa lähdekoodia

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 vuotta sitten
vanhempi
commit
172dc6a6d3
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      iOSClient/AppDelegate.swift

+ 2 - 2
iOSClient/AppDelegate.swift

@@ -223,7 +223,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         NotificationCenter.default.postOnMainThread(name: NCGlobal.shared.notificationCenterApplicationDidBecomeActive)
     }
 
-    // L' applicazione entrerà in primo piano (attivo solo dopo il background)
+    // L' applicazione entrerà in primo piano (dopo il background)
     func applicationWillEnterForeground(_ application: UIApplication) {
         guard !account.isEmpty, let activeAccount = NCManageDatabase.shared.getActiveAccount() else { return }
 
@@ -291,7 +291,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         guard !account.isEmpty else { return }
 
         // STOP TIMER UPLOAD PROCESS
-        networkingProcessUpload?.stopTimer()
+        networkingProcessUpload = NCNetworkingProcessUpload()
 
         scheduleAppRefresh()
         scheduleAppProcessing()