Remove indent attribute as we should have been using indentionLevel.

This commit is contained in:
Maurice Parker
2019-04-20 11:11:09 -05:00
parent a4b30793a8
commit f01517d184
2 changed files with 4 additions and 10 deletions

View File

@@ -487,7 +487,9 @@ class MasterViewController: UITableViewController, UndoableCommandRunner {
func configure(_ cell: MasterTableViewCell, _ node: Node) {
cell.delegate = self
cell.indent = node.parent?.representedObject is Folder
if node.parent?.representedObject is Folder {
cell.indentationLevel = 1
}
cell.disclosureExpanded = expandedNodes.contains(node)
cell.allowDisclosureSelection = node.canHaveChildNodes