This commit is contained in:
Maurice Parker 2019-11-11 13:52:52 -06:00
commit 2617744d49
1 changed files with 3 additions and 1 deletions

View File

@ -131,7 +131,9 @@ final class FeedlyAccountDelegate: AccountDelegate {
let date = Date()
operation.syncCompletionHandler = { [weak self] result in
self?.accountMetadata?.lastArticleFetch = date
if case .success = result {
self?.accountMetadata?.lastArticleFetch = date
}
os_log(.debug, log: log, "Sync took %{public}.3f seconds", -date.timeIntervalSinceNow)
progress.completeTask()