Skip to content

Commit

Permalink
Merge pull request #117 from kenobilyh/230302fixNibCalStyle
Browse files Browse the repository at this point in the history
Fix NibSizeCalculator style not pass correctly to next function
  • Loading branch information
anistarsung authored Mar 2, 2023
2 parents 65d0fa2 + bbb9cc7 commit 16ff42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppDevPods/AppDevListViewKit/ADKNibSizeCalculator.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ - (CGSize)sizeForNibNamed:(NSString *)nibName withStyle:(ADKNibSizeStyle)style

- (CGSize)sizeForNibNamed:(NSString *)nibName withStyle:(ADKNibSizeStyle)style fitSize:(CGSize)containerSize
{
return [self sizeForNibNamed:nibName atBundle:nil withStyle:ADKNibDefaultScaling fitSize:containerSize];
return [self sizeForNibNamed:nibName atBundle:nil withStyle:style fitSize:containerSize];
}

- (CGSize)sizeForNibNamed:(NSString *)nibName atBundle:(NSBundle *)bundle
Expand Down

0 comments on commit 16ff42b

Please sign in to comment.