From 7e86f3dec3f28cda165684cfe26a3849ab46ed56 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 2 May 2020 14:39:28 -0500 Subject: [PATCH] Show status sooner for importing OPML --- Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift b/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift index 685559120..ac8ece5ed 100644 --- a/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift +++ b/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift @@ -150,7 +150,9 @@ final class CloudKitAccountDelegate: AccountDelegate { let normalizedItems = OPMLNormalizer.normalize(opmlItems) + refreshProgress.addToNumberOfTasksAndRemaining(1) self.accountZone.importOPML(rootExternalID: rootExternalID, items: normalizedItems) { _ in + self.refreshProgress.completeTask() self.standardRefreshAll(for: account, completion: completion) }