diff options
author | Marino Faggiana <marino@marinofaggiana.com> | 2022-10-01 19:11:58 +0300 |
---|---|---|
committer | Marino Faggiana <marino@marinofaggiana.com> | 2022-10-01 19:11:58 +0300 |
commit | f0248986c382d8c56479d027ec93be15449b9262 (patch) | |
tree | 7c1fc356b13bfdadae9e9d18633993c592536a0c /iOSClient/AppDelegate.swift | |
parent | 8731809eada1e684ee5fe9dde800c57fc651b1ef (diff) |
coding
Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Diffstat (limited to 'iOSClient/AppDelegate.swift')
-rw-r--r-- | iOSClient/AppDelegate.swift | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/iOSClient/AppDelegate.swift b/iOSClient/AppDelegate.swift index d53fc6434..0b7505e45 100644 --- a/iOSClient/AppDelegate.swift +++ b/iOSClient/AppDelegate.swift @@ -294,8 +294,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD // L' applicazione รจ entrata nello sfondo func applicationDidEnterBackground(_ application: UIApplication) { - - if account == "" { return } + guard !account.isEmpty else { return } // STOP TIMER UPLOAD PROCESS networkingProcessUpload?.stopTimer() |