From fd56a19edf698093d63e78f979875ea8d90bbd64 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 2 Aug 2020 14:03:51 -0500 Subject: [PATCH] Hard code enable the MarsEdit and Micro.blog extension points so that they work like 5.0.x --- Mac/MainWindow/SharingServicePickerDelegate.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mac/MainWindow/SharingServicePickerDelegate.swift b/Mac/MainWindow/SharingServicePickerDelegate.swift index 1a5349a42..75d73e921 100644 --- a/Mac/MainWindow/SharingServicePickerDelegate.swift +++ b/Mac/MainWindow/SharingServicePickerDelegate.swift @@ -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