mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Moved expanded state away from Node so that it won't get lost on rebuilds. Issue #1346
This commit is contained in:
@@ -40,7 +40,6 @@ private extension WebFeedTreeControllerDelegate {
|
||||
let smartFeedsNode = rootNode.existingOrNewChildNode(with: SmartFeedsController.shared)
|
||||
smartFeedsNode.canHaveChildNodes = true
|
||||
smartFeedsNode.isGroupItem = true
|
||||
smartFeedsNode.isExpanded = true
|
||||
topLevelNodes.append(smartFeedsNode)
|
||||
}
|
||||
|
||||
@@ -137,7 +136,6 @@ private extension WebFeedTreeControllerDelegate {
|
||||
let accountNode = parent.existingOrNewChildNode(with: account)
|
||||
accountNode.canHaveChildNodes = true
|
||||
accountNode.isGroupItem = true
|
||||
accountNode.isExpanded = true
|
||||
return accountNode
|
||||
}
|
||||
return nodes
|
||||
|
||||
Reference in New Issue
Block a user