mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Continue fixing concurrency warnings.
This commit is contained in:
@@ -67,7 +67,7 @@ extension Array where Element == Article {
|
||||
return false
|
||||
}
|
||||
|
||||
func anyArticleIsReadAndCanMarkUnread() -> Bool {
|
||||
@MainActor func anyArticleIsReadAndCanMarkUnread() -> Bool {
|
||||
return anyArticlePassesTest { $0.status.read && $0.isAvailableToMarkUnread }
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ extension Array where Element == Article {
|
||||
var i = 0
|
||||
for article in self {
|
||||
let otherArticle = otherArticles[i]
|
||||
if article.account != otherArticle.account || article.articleID != otherArticle.articleID {
|
||||
if article.accountID != otherArticle.accountID || article.articleID != otherArticle.articleID {
|
||||
return false
|
||||
}
|
||||
i += 1
|
||||
|
||||
Reference in New Issue
Block a user