refactor(state)!: use same naming pattern for getters

BREAKING CHANGE: instead of deprecating selected, change it directly.
The old behaviour can be achieved with a `.collect::<Vec<_>>()` easily.
This commit is contained in:
EdJoPaTo
2024-05-22 14:52:57 +02:00
parent d23f55b2ad
commit 051f49fd72
2 changed files with 15 additions and 21 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ where
);
let symbol = if item.children.is_empty() {
self.node_no_children_symbol
} else if state.open.contains(identifier) {
} else if state.opened.contains(identifier) {
self.node_open_symbol
} else {
self.node_closed_symbol