Don't try to add macOS only extensions points on iOS

This commit is contained in:
Maurice Parker 2020-12-06 14:08:46 -06:00
parent 7eca28a170
commit 2f5486158c

View File

@ -57,8 +57,10 @@ final class ExtensionPointManager: FeedProviderManagerDelegate {
var commands = activeExtensionPoints.values.compactMap({ return $0 as? SendToCommand }) var commands = activeExtensionPoints.values.compactMap({ return $0 as? SendToCommand })
// These two SendToCommands don't need logins and are always active // These two SendToCommands don't need logins and are always active
#if os(macOS)
commands.append(SendToMarsEditCommand()) commands.append(SendToMarsEditCommand())
commands.append(SendToMicroBlogCommand()) commands.append(SendToMicroBlogCommand())
#endif
return commands return commands
} }