From 19a6ff883d4feb13a169eb8d899c4bcad1d171cb Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 19 Apr 2020 17:37:32 -0500 Subject: [PATCH] Fix CloudKit feed double counting in progress indicator. --- Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift b/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift index 88c788388..a7c2be710 100644 --- a/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift +++ b/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift @@ -569,7 +569,6 @@ private extension CloudKitAccountDelegate { for webFeed in webFeeds { if let components = URLComponents(string: webFeed.url), let feedProvider = FeedProviderManager.shared.best(for: components, with: webFeed.username) { - refreshProgress.addToNumberOfTasksAndRemaining(1) group.enter() feedProvider.refresh(webFeed) { result in switch result { @@ -589,7 +588,6 @@ private extension CloudKitAccountDelegate { } } - refreshProgress.addToNumberOfTasksAndRemaining(refresherWebFeeds.count) group.enter() refresher.refreshFeeds(refresherWebFeeds) { group.leave()