diff options
author | Marino Faggiana <marino@marinofaggiana.com> | 2022-09-28 11:30:49 +0300 |
---|---|---|
committer | Marino Faggiana <marino@marinofaggiana.com> | 2022-09-28 11:30:49 +0300 |
commit | d4e8fe1c17b0350827abd2d54f627e3c1e1a1771 (patch) | |
tree | 21441aea44f9fdafbd2c561b6c5723bb730c8024 | |
parent | 01ecd0ebf3e4ce80347394524a61258cf327e836 (diff) |
codingpreview
Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
-rw-r--r-- | iOSClient/AppDelegate.swift | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/iOSClient/AppDelegate.swift b/iOSClient/AppDelegate.swift index 29e21b6cb..8508c9b63 100644 --- a/iOSClient/AppDelegate.swift +++ b/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.") } } |