mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 20:16:54 +01:00
Merge branch 'mac-candidate' into main
This commit is contained in:
commit
87fc73c5de
@ -26,7 +26,9 @@ import RSCore
|
|||||||
}
|
}
|
||||||
|
|
||||||
static func customSharingServices(for items: [Any]) -> [NSSharingService] {
|
static func customSharingServices(for items: [Any]) -> [NSSharingService] {
|
||||||
let customServices = ExtensionPointManager.shared.activeSendToCommands.compactMap { (sendToCommand) -> NSSharingService? in
|
// MarsEdit and MicroBlog are hardcode only for the Mac 5.1 release
|
||||||
|
let hardCodedCommands: [SendToCommand] = [SendToMarsEditCommand(), SendToMicroBlogCommand()]
|
||||||
|
let customServices = hardCodedCommands.compactMap { (sendToCommand) -> NSSharingService? in
|
||||||
|
|
||||||
guard let object = items.first else {
|
guard let object = items.first else {
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user