mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 09:18:18 +00:00
Set feed.lastCheckDate on initial download.
This commit is contained in:
1 parent
f197b1d9a1
commit
adae8b41a8
2 files changed
+3
-1
No files matched your search
@@ -642,7 +642,8 @@ private extension CloudKitAccountDelegate {
|
||||
|
||||
InitialFeedDownloader.download(url) { parsedFeed, _, response, _ in
|
||||
self.syncProgress.completeTask()
|
||||
|
||||
feed.lastCheckDate = Date()
|
||||
|
||||
if let parsedFeed {
|
||||
// Save conditional GET info so that first refresh uses conditional GET.
|
||||
if let httpResponse = response as? HTTPURLResponse,
|
||||
|
||||
@@ -246,6 +246,7 @@ private extension LocalAccountDelegate {
|
||||
|
||||
if let parsedFeed {
|
||||
let feed = account.createWebFeed(with: nil, url: url.absoluteString, webFeedID: url.absoluteString, homePageURL: nil)
|
||||
feed.lastCheckDate = Date()
|
||||
|
||||
// Save conditional GET info so that first refresh uses conditional GET.
|
||||
if let httpResponse = response as? HTTPURLResponse,
|
||||
|
||||
Reference in new issue
Block a user