Make sure we clear the refresh progress on local accounts when it completes.
This commit is contained in:
parent
b7472fcdaa
commit
fc020c06e8
|
@ -37,6 +37,7 @@ final class LocalAccountDelegate: AccountDelegate {
|
|||
let webFeeds = account.flattenedWebFeeds()
|
||||
refreshProgress.addToNumberOfTasksAndRemaining(webFeeds.count)
|
||||
refresher.refreshFeeds(webFeeds, feedCompletionBlock: { _ in self.refreshProgress.completeTask() }) {
|
||||
self.refreshProgress.clear()
|
||||
account.metadata.lastArticleFetchEndTime = Date()
|
||||
completion(.success(()))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue