Fix using UIActivityIndicatorView provided in view block (#2522)

This commit is contained in:
Michael Schneider
2016-11-01 07:58:54 -07:00
committed by GitHub
parent 8e6f842b8d
commit 58e9c807b9
3 changed files with 7 additions and 6 deletions

View File

@@ -55,7 +55,9 @@ final class ViewController: ASViewController, ASTableDataSource, ASTableDelegate
let rowCount = self.tableNode(tableNode, numberOfRowsInSection: 0)
if state.fetchingMore && indexPath.row == rowCount - 1 {
return TailLoadingCellNode()
let node = TailLoadingCellNode()
node.style.height = ASDimensionMake(44.0)
return node;
}
let node = ASTextCellNode()