瀏覽代碼

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 年之前
父節點
當前提交
d4e8fe1c17
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      iOSClient/AppDelegate.swift

+ 8 - 0
iOSClient/AppDelegate.swift

@@ -248,6 +248,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
                 NKCommon.shared.writeLog("Initialize Auto upload with \(items) uploads")
                 self.autoUploadInprogress = false
             }
+        } else {
+            NKCommon.shared.writeLog("Auto upload already in progress.")
         }
 
         // Required unsubscribing / subscribing
@@ -337,6 +339,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
                 NKCommon.shared.writeLog("Initialize Auto upload with \(items) uploads")
                 self.autoUploadInprogress = false
             }
+        } else {
+            NKCommon.shared.writeLog("Auto upload already in progress.")
         }
 
         // Start services
@@ -407,6 +411,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
                 self.autoUploadInprogress = false
                 task.setTaskCompleted(success: true)
             }
+        } else {
+            NKCommon.shared.writeLog("Auto upload already in progress.")
         }
     }
 
@@ -427,6 +433,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
                 self.autoUploadInprogress = false
                 task.setTaskCompleted(success: true)
             }
+        } else {
+            NKCommon.shared.writeLog("Auto upload already in progress.")
         }
     }