Initial feed download now retrieves entries in the last 90 days
This commit is contained in:
parent
cfaacd0ada
commit
bdbeced5d2
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue