mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Remove numerous superfluous MainActor annotations.
This commit is contained in:
@@ -64,8 +64,8 @@ import Account
|
||||
|
||||
}
|
||||
|
||||
@objc @MainActor func timedRefresh(_ sender: Timer?) {
|
||||
|
||||
@objc func timedRefresh(_ sender: Timer?) {
|
||||
|
||||
guard !shuttingDown else {
|
||||
return
|
||||
}
|
||||
@@ -73,7 +73,7 @@ import Account
|
||||
lastTimedRefresh = Date()
|
||||
update()
|
||||
|
||||
Task { @MainActor in
|
||||
Task {
|
||||
await AccountManager.shared.refreshAll()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ import Account
|
||||
lastTimedRefresh = Date()
|
||||
update()
|
||||
|
||||
Task { @MainActor in
|
||||
Task {
|
||||
await AccountManager.shared.syncArticleStatusAll()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user