Initial feed download now retrieves entries in the last 90 days

This commit is contained in:
Anh Do 2020-03-22 01:11:00 -04:00
parent cfaacd0ada
commit bdbeced5d2
No known key found for this signature in database
GPG Key ID: 451E3092F917B62D
1 changed files with 1 additions and 7 deletions

View File

@ -419,13 +419,7 @@ extension NewsBlurAccountDelegate {
return return
} }
let since: Date? = { let since: Date? = Calendar.current.date(byAdding: .month, value: -3, to: Date())
if let lastArticleFetch = self.accountMetadata?.lastArticleFetchStartTime {
return lastArticleFetch
} else {
return Calendar.current.date(byAdding: .month, value: -3, to: Date())
}
}()
self.processStories(account: account, stories: stories, since: since) { result in self.processStories(account: account, stories: stories, since: since) { result in
self.refreshProgress.completeTask() self.refreshProgress.completeTask()