Fix a few concurrency warnings.

This commit is contained in:
Brent Simmons
2024-05-03 11:57:20 -07:00
parent 6776862322
commit 81cede769a
5 changed files with 13 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ import Articles
import Core
import AppKitExtras
final class SendToMarsEditCommand: SendToCommand {
@MainActor final class SendToMarsEditCommand: SendToCommand {
let title = "MarsEdit"
let image: RSImage? = AppAssets.marsEditIcon
@@ -44,9 +44,9 @@ final class SendToMarsEditCommand: SendToCommand {
}
}
private extension SendToMarsEditCommand {
@MainActor private extension SendToMarsEditCommand {
@MainActor func send(_ article: Article, to app: UserApp) {
func send(_ article: Article, to app: UserApp) {
// App has already been launched.