Fix completed task count so that the progress bar clears when a feed is unparsable

This commit is contained in:
Maurice Parker 2021-02-01 18:02:31 -06:00
parent 21d1a32597
commit c61ae997e2
1 changed files with 1 additions and 1 deletions

View File

@ -733,7 +733,7 @@ private extension CloudKitAccountDelegate {
case .failure:
BatchUpdate.shared.end()
self.refreshProgress.completeTasks(5)
self.refreshProgress.completeTasks(4)
completion(.failure(AccountError.createErrorNotFound))
}