Skip to content

Commit 89e007b

Browse files
ShepJGoogleianegordon
authored andcommitted
[FlexibleHeader] - Update tests so as not to have 0 in contentSize (#1146)
1 parent 8567245 commit 89e007b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/FlexibleHeader/tests/unit/FlexibleHeaderViewControllerTopLayoutGuideTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ - (void)viewDidLoad {
5252
self.scrollView.frame = self.view.bounds;
5353
self.scrollView.autoresizingMask =
5454
UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
55-
self.scrollView.contentSize = CGSizeMake(self.view.bounds.size.width, 2000);
55+
self.scrollView.contentSize = CGSizeMake(320, 2000);
5656
[self.view addSubview:self.scrollView];
5757
self.fhvc.headerView.trackingScrollView = self.scrollView;
5858
self.fhvc.view.frame = self.view.bounds;

0 commit comments

Comments
 (0)