mirror of
https://github.com/confirmedcode/Lockdown-iOS.git
synced 2025-12-21 12:14:02 +01:00
CLEANUP: Remove updatemetrics from background app refresh
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user