From bdbeced5d24e511220307132121b96032aed7026 Mon Sep 17 00:00:00 2001 From: Anh Do Date: Sun, 22 Mar 2020 01:11:00 -0400 Subject: [PATCH] Initial feed download now retrieves entries in the last 90 days --- .../Internals/NewsBlurAccountDelegate+Internal.swift | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Frameworks/Account/NewsBlur/Internals/NewsBlurAccountDelegate+Internal.swift b/Frameworks/Account/NewsBlur/Internals/NewsBlurAccountDelegate+Internal.swift index 54579c361..406d2ec70 100644 --- a/Frameworks/Account/NewsBlur/Internals/NewsBlurAccountDelegate+Internal.swift +++ b/Frameworks/Account/NewsBlur/Internals/NewsBlurAccountDelegate+Internal.swift @@ -419,13 +419,7 @@ extension NewsBlurAccountDelegate { return } - let since: Date? = { - if let lastArticleFetch = self.accountMetadata?.lastArticleFetchStartTime { - return lastArticleFetch - } else { - return Calendar.current.date(byAdding: .month, value: -3, to: Date()) - } - }() + let since: Date? = Calendar.current.date(byAdding: .month, value: -3, to: Date()) self.processStories(account: account, stories: stories, since: since) { result in self.refreshProgress.completeTask()