Remove numerous superfluous MainActor annotations.

This commit is contained in:
Brent Simmons
2024-06-08 11:58:30 -07:00
parent f872f8aa86
commit fe49f3bbe4
23 changed files with 67 additions and 67 deletions

View File

@@ -111,7 +111,7 @@ import Articles
return article.status.boolStatus(forKey:.read)
}
set {
Task { @MainActor in
Task {
markArticles([self.article], statusKey: .read, flag: newValue)
}
}
@@ -123,7 +123,7 @@ import Articles
return article.status.boolStatus(forKey:.starred)
}
set {
Task { @MainActor in
Task {
markArticles([self.article], statusKey: .starred, flag: newValue)
}
}
@@ -146,7 +146,7 @@ import Articles
}
@objc(feed)
@MainActor var feed: ScriptableFeed? {
var feed: ScriptableFeed? {
guard let parentFeed = self.article.feed,
let account = parentFeed.account
else { return nil }