Don't allow Twitter or Reddit feeds to be added to accounts that can't handle them

This commit is contained in:
Maurice Parker
2020-08-11 20:19:17 -05:00
parent c4ad7c71fd
commit f8cf5676e9
4 changed files with 10 additions and 5 deletions

View File

@@ -90,7 +90,7 @@ class AddRedditFeedWindowController : NSWindowController, AddFeedWindowControlle
}
accountPopupButton.menu = accountMenu
folderPopupButton.menu = FolderTreeMenu.createFolderPopupMenu(with: folderTreeController.rootNode)
folderPopupButton.menu = FolderTreeMenu.createFolderPopupMenu(with: folderTreeController.rootNode, restrictToSpecialAccounts: true)
if let container = AddWebFeedDefaultContainer.defaultContainer {
if let folder = container as? Folder, let account = folder.account {