From c61ae997e2632cc09e1d55285fb75ed5d977c734 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 1 Feb 2021 18:02:31 -0600 Subject: [PATCH] Fix completed task count so that the progress bar clears when a feed is unparsable --- Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift b/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift index cd7774178..e5b9bc84d 100644 --- a/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift +++ b/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift @@ -733,7 +733,7 @@ private extension CloudKitAccountDelegate { case .failure: BatchUpdate.shared.end() - self.refreshProgress.completeTasks(5) + self.refreshProgress.completeTasks(4) completion(.failure(AccountError.createErrorNotFound)) }