Put folder pop up menu for add feed in the correct order
This commit is contained in:
parent
eede1cc7eb
commit
6d5b3884fc
@ -24,12 +24,12 @@ private extension FolderTreeControllerDelegate {
|
|||||||
|
|
||||||
func childNodesForRootNode(_ node: Node) -> [Node]? {
|
func childNodesForRootNode(_ node: Node) -> [Node]? {
|
||||||
|
|
||||||
let accountNodes: [Node] = AccountManager.shared.activeAccounts.map { account in
|
let accountNodes: [Node] = AccountManager.shared.sortedActiveAccounts.map { account in
|
||||||
let accountNode = Node(representedObject: account, parent: node)
|
let accountNode = Node(representedObject: account, parent: node)
|
||||||
accountNode.canHaveChildNodes = true
|
accountNode.canHaveChildNodes = true
|
||||||
return accountNode
|
return accountNode
|
||||||
}
|
}
|
||||||
return accountNodes.sortedAlphabetically()
|
return accountNodes
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user