mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix a few concurrency warnings.
This commit is contained in:
@@ -37,7 +37,7 @@ public protocol SendToCommand {
|
||||
/// - object: The object to test.
|
||||
/// - selectedText: The currently selected text.
|
||||
/// - Returns: `true` if the object can be sent, `false` otherwise.
|
||||
func canSendObject(_ object: Any?, selectedText: String?) -> Bool
|
||||
@MainActor func canSendObject(_ object: Any?, selectedText: String?) -> Bool
|
||||
|
||||
/// Send an object to the target application.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user