Fix CloudKit feed double counting in progress indicator.
This commit is contained in:
parent
eeb7b518a8
commit
19a6ff883d
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue