Show status sooner for importing OPML

This commit is contained in:
Maurice Parker 2020-05-02 14:39:28 -05:00
parent 3bc4b9e4b2
commit 7e86f3dec3

View File

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