mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Restrict OPML import for Account types that don't support it
This commit is contained in:
@@ -26,6 +26,10 @@ class ImportOPMLWindowController: NSWindowController {
|
||||
|
||||
for oneAccount in AccountManager.shared.sortedActiveAccounts {
|
||||
|
||||
if !oneAccount.isOPMLImportSupported {
|
||||
continue
|
||||
}
|
||||
|
||||
let oneMenuItem = NSMenuItem()
|
||||
oneMenuItem.title = oneAccount.nameForDisplay
|
||||
oneMenuItem.representedObject = oneAccount
|
||||
|
||||
Reference in New Issue
Block a user