mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-20 21:40:43 +01:00
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
Block a user