Fix typo
This commit is contained in:
parent
d7a9fc6de4
commit
6bdcd941ae
|
@ -24,7 +24,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
||||||
private var syncBackgroundUpdateTask = UIBackgroundTaskIdentifier.invalid
|
private var syncBackgroundUpdateTask = UIBackgroundTaskIdentifier.invalid
|
||||||
|
|
||||||
var syncTimer: ArticleStatusSyncTimer?
|
var syncTimer: ArticleStatusSyncTimer?
|
||||||
private let remoteNotificationoperationQueue = MainThreadOperationQueue()
|
private let remoteNotificationOperationQueue = MainThreadOperationQueue()
|
||||||
|
|
||||||
var shuttingDown = false {
|
var shuttingDown = false {
|
||||||
didSet {
|
didSet {
|
||||||
|
@ -114,7 +114,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
||||||
|
|
||||||
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completion: @escaping (UIBackgroundFetchResult) -> Void) {
|
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completion: @escaping (UIBackgroundFetchResult) -> Void) {
|
||||||
let op = RemoteNotificationOperation(userInfo: userInfo, completion: completion)
|
let op = RemoteNotificationOperation(userInfo: userInfo, completion: completion)
|
||||||
remoteNotificationoperationQueue.add(op)
|
remoteNotificationOperationQueue.add(op)
|
||||||
}
|
}
|
||||||
|
|
||||||
func applicationWillTerminate(_ application: UIApplication) {
|
func applicationWillTerminate(_ application: UIApplication) {
|
||||||
|
|
Loading…
Reference in New Issue