diff --git a/Mac/MainWindow/SharingServicePickerDelegate.swift b/Mac/MainWindow/SharingServicePickerDelegate.swift index 75d73e921..1a5349a42 100644 --- a/Mac/MainWindow/SharingServicePickerDelegate.swift +++ b/Mac/MainWindow/SharingServicePickerDelegate.swift @@ -26,9 +26,7 @@ import RSCore } static func customSharingServices(for items: [Any]) -> [NSSharingService] { - // MarsEdit and MicroBlog are hardcode only for the Mac 5.1 release - let hardCodedCommands: [SendToCommand] = [SendToMarsEditCommand(), SendToMicroBlogCommand()] - let customServices = hardCodedCommands.compactMap { (sendToCommand) -> NSSharingService? in + let customServices = ExtensionPointManager.shared.activeSendToCommands.compactMap { (sendToCommand) -> NSSharingService? in guard let object = items.first else { return nil diff --git a/Mac/Preferences/PreferencesWindowController.swift b/Mac/Preferences/PreferencesWindowController.swift index a1b0e9602..143425ce5 100644 --- a/Mac/Preferences/PreferencesWindowController.swift +++ b/Mac/Preferences/PreferencesWindowController.swift @@ -40,9 +40,9 @@ class PreferencesWindowController : NSWindowController, NSToolbarDelegate { specs += [PreferencesToolbarItemSpec(identifierRawValue: ToolbarItemIdentifier.Accounts, name: NSLocalizedString("Accounts", comment: "Preferences"), image: NSImage(named: NSImage.userAccountsName))] -// specs += [PreferencesToolbarItemSpec(identifierRawValue: ToolbarItemIdentifier.Extensions, -// name: NSLocalizedString("Extensions", comment: "Preferences"), -// image: AppAssets.extensionPreference)] + specs += [PreferencesToolbarItemSpec(identifierRawValue: ToolbarItemIdentifier.Extensions, + name: NSLocalizedString("Extensions", comment: "Preferences"), + image: AppAssets.extensionPreference)] // Omit the Advanced Preferences for now because the Software Update related functionality is // forbidden/non-applicable, and we can rely upon Apple to some extent for crash reports. We