mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 16:20:53 +01:00
Don't try to add macOS only extensions points on iOS
This commit is contained in:
parent
7eca28a170
commit
2f5486158c
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user