Move heightStrategy invalidate method
This commit is contained in:
parent
e9be0e8996
commit
ac051c1a3f
|
|
@ -64,7 +64,6 @@ public class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate
|
|||
}
|
||||
|
||||
public func reload() {
|
||||
heightStrategy?.invalidate()
|
||||
tableView?.reloadData()
|
||||
}
|
||||
|
||||
|
|
@ -255,7 +254,7 @@ public class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate
|
|||
}
|
||||
|
||||
public func clear() -> Self {
|
||||
|
||||
heightStrategy?.invalidate()
|
||||
sections.removeAll()
|
||||
return self
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue