Fix Untitled feed bug

This commit is contained in:
Maurice Parker 2020-04-23 19:20:35 -05:00
parent f6a81c07fb
commit dedb207cae
1 changed files with 1 additions and 2 deletions

View File

@ -224,13 +224,12 @@ private extension CloudKitAcountZoneDelegate {
} else {
container.addWebFeed(webFeed)
refreshProgress?.addToNumberOfTasksAndRemaining(1)
InitialFeedDownloader.download(url) { parsedFeed in
self.refreshProgress?.completeTask()
if let parsedFeed = parsedFeed {
account.update(webFeed, with: parsedFeed, { _ in
container.addWebFeed(webFeed)
completion(webFeed)
})
} else {