Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit c809609

Browse files
author
Levi McCallum
committed
Update pager example
1 parent a0ebfb6 commit c809609

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

examples/PagerNode/Sample/PageNode.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ @implementation PageNode
1212

1313
- (ASLayout *)calculateLayoutThatFits:(ASSizeRange)constrainedSize
1414
{
15-
return [ASLayout layoutWithLayoutableObject:self size:constrainedSize.max];
15+
return [ASLayout layoutWithLayoutableObject:self
16+
constrainedSizeRange:constrainedSize
17+
size:constrainedSize.max];
1618
}
1719

1820
- (void)fetchData

0 commit comments

Comments
 (0)