Commit 02a2d5e0 authored by Evan W. Patton's avatar Evan W. Patton Committed by Evan W. Patton

Fix regression in use of ListView.Elements on iOS

Change-Id: Iad4033818ae3b679d6bedd260279f15072360f62
parent 8c3afbcd
......@@ -534,7 +534,7 @@ open class ListView: ViewComponent, AbstractMethodsForViewComponent,
}
open func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return _listData.count
return _listData.isEmpty ? _elements.count : _listData.count
}
// MARK: UITableViewDelegate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment