mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 00:31:14 +00:00
Hard code enable the MarsEdit and Micro.blog extension points so that they work like 5.0.x
This commit is contained in:
1 parent
d7caad9f7b
commit
fd56a19edf
1 file changed
+3
-1
@@ -26,7 +26,9 @@ import RSCore
|
||||
}
|
||||
|
||||
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 {
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user