Use ExpandableCellHeightCalculator by default

This commit is contained in:
Ivan Zinovyev 2018-12-11 12:16:32 +03:00
parent 6eaf2cf3a2
commit 5982d5db3a
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ open class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate {
self.cellRegisterer = TableCellRegisterer(tableView: tableView)
}
self.rowHeightCalculator = cellHeightCalculator
self.rowHeightCalculator = cellHeightCalculator ?? ExpandableCellHeightCalculator(tableView: tableView)
self.scrollDelegate = scrollDelegate
self.tableView = tableView
self.tableView?.delegate = self