Skip to content

Commit

Permalink
Update iphone/Classes/TiUIScrollableView.m
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Barber <[email protected]>
  • Loading branch information
m1ga and cb1kenobi authored May 13, 2024
1 parent e0f334f commit d578b52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iphone/Classes/TiUIScrollableView.m
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,10 @@ - (void)refreshScrollView:(CGRect)visibleBounds readd:(BOOL)readd

NSUInteger viewsCount = [[self proxy] viewCount];
/*
Reset readd here since refreshScrollView is called from
frameSizeChanged with readd false and the views might
not yet have been added on first launch
*/
Reset readd here since refreshScrollView is called from
frameSizeChanged with readd false and the views might
not yet have been added on first launch
*/
readd = ([[sv subviews] count] == 0);

for (int c = 0; c < viewsCount; c++) {
Expand Down

0 comments on commit d578b52

Please sign in to comment.