mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Make sure updated content gets sync'd if it is unread or starred.
This commit is contained in:
@@ -121,6 +121,13 @@ final class CloudKitArticlesZone: CloudKitZone {
|
||||
if let article = statusArticle.article {
|
||||
newRecords.append(makeArticleRecord(article))
|
||||
}
|
||||
case (.new, false):
|
||||
newRecords.append(makeStatusRecord(statusArticle))
|
||||
if let article = statusArticle.article {
|
||||
if article.status.read == false || article.status.starred == true {
|
||||
newRecords.append(makeArticleRecord(article))
|
||||
}
|
||||
}
|
||||
case (.starred, true), (.read, false):
|
||||
modifyRecords.append(makeStatusRecord(statusArticle))
|
||||
if let article = statusArticle.article {
|
||||
|
||||
Reference in New Issue
Block a user