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:
@@ -22,7 +22,7 @@ import Core
|
||||
appToUse() != nil
|
||||
}
|
||||
|
||||
@MainActor func sendObject(_ object: Any?, selectedText: String?) {
|
||||
func sendObject(_ object: Any?, selectedText: String?) {
|
||||
|
||||
guard canSendObject(object, selectedText: selectedText) else {
|
||||
return
|
||||
@@ -34,7 +34,7 @@ import Core
|
||||
return
|
||||
}
|
||||
|
||||
Task { @MainActor in
|
||||
Task {
|
||||
guard await app.launchIfNeeded(), app.bringToFront() else {
|
||||
return
|
||||
}
|
||||
@@ -44,7 +44,7 @@ import Core
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor private extension SendToMarsEditCommand {
|
||||
private extension SendToMarsEditCommand {
|
||||
|
||||
func send(_ article: Article, to app: UserApp) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user