From 3c2d83dace82e8f16526381df58bd983451c9bc7 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 9 Jul 2023 22:43:24 -0700 Subject: [PATCH] Rename bgTaskDispatchQueue to backgroundTaskDispatchQueue. --- iOS/AppDelegate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index 89f26f32d..200ed6bcc 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -20,7 +20,7 @@ var appDelegate: AppDelegate! @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterDelegate, UnreadCountProvider, Logging { - private var bgTaskDispatchQueue = DispatchQueue.init(label: "BGTaskScheduler") + private var backgroundTaskDispatchQueue = DispatchQueue.init(label: "BGTaskScheduler") private var waitBackgroundUpdateTask = UIBackgroundTaskIdentifier.invalid private var syncBackgroundUpdateTask = UIBackgroundTaskIdentifier.invalid @@ -383,7 +383,7 @@ private extension AppDelegate { // We send this to a dedicated serial queue because as of 11/05/19 on iOS 13.2 the call to the // task scheduler can hang indefinitely. - bgTaskDispatchQueue.async { [weak self] in + backgroundTaskDispatchQueue.async { [weak self] in do { try BGTaskScheduler.shared.submit(request) } catch {