mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 01:10:38 +00:00
Adds an account behavior to disable folders
Some sync services (Feed Wrangler) don't support folders. This behavior removes the account from the UI when adding new folders.
This commit is contained in:
1 parent
2324d652cd
commit
a37bfd5d74
4 files changed
+14
-3
No files matched your search
@@ -43,7 +43,9 @@ class AddFolderViewController: UITableViewController, AddContainerViewController
|
||||
|
||||
super.viewDidLoad()
|
||||
|
||||
accounts = AccountManager.shared.sortedActiveAccounts
|
||||
accounts = AccountManager.shared
|
||||
.sortedActiveAccounts
|
||||
.filter { !$0.behaviors.contains(.disallowFolderManagement) }
|
||||
|
||||
nameTextField.delegate = self
|
||||
|
||||
|
||||
Reference in new issue
Block a user