Fix CloudKit feed double counting in progress indicator.

This commit is contained in:
Maurice Parker 2020-04-19 17:37:32 -05:00
parent eeb7b518a8
commit 19a6ff883d
1 changed files with 0 additions and 2 deletions

View File

@ -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()