From 540793421349cae0fbb323a6ecef99e07e088603 Mon Sep 17 00:00:00 2001 From: Johnny Lin Date: Tue, 20 Oct 2020 17:52:09 -0700 Subject: [PATCH] CLEANUP: Remove updatemetrics from background app refresh --- LockdowniOS/AppDelegate.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/LockdowniOS/AppDelegate.swift b/LockdowniOS/AppDelegate.swift index c6e71c0..6b6fe28 100644 --- a/LockdowniOS/AppDelegate.swift +++ b/LockdowniOS/AppDelegate.swift @@ -190,7 +190,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { } func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) { - updateMetrics(.resetIfNeeded, rescheduleNotifications: .withEnergySaving) // Check 2 conditions for firewall restart, but reload manager first to get non-stale one FirewallController.shared.refreshManager(completion: { error in if let e = error {