mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix deprecation warning. Make launchIfNeeded async.
This commit is contained in:
@@ -44,6 +44,6 @@ public protocol SendToCommand {
|
||||
/// - Parameters:
|
||||
/// - object: The object whose data to send.
|
||||
/// - selectedText: The currently selected text.
|
||||
func sendObject(_ object: Any?, selectedText: String?)
|
||||
@MainActor func sendObject(_ object: Any?, selectedText: String?)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user