Skip to content

Commit 16ff42b

Browse files
authored
Merge pull request #117 from kenobilyh/230302fixNibCalStyle
Fix NibSizeCalculator style not pass correctly to next function
2 parents 65d0fa2 + bbb9cc7 commit 16ff42b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AppDevPods/AppDevListViewKit/ADKNibSizeCalculator.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ - (CGSize)sizeForNibNamed:(NSString *)nibName withStyle:(ADKNibSizeStyle)style
4646

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

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

0 commit comments

Comments
 (0)