mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-10 00:01:44 +00:00
CatDealsCollectionView: Use the correct method name (#3015)
This commit is contained in:
parent
7424b6d7f7
commit
d7ce6b9a04
@ -205,7 +205,7 @@ static const CGFloat kVerticalSectionPadding = 20.0f;
|
||||
|
||||
#pragma mark - ASCollectionDelegateFlowLayout
|
||||
|
||||
- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode referenceConstrainedSizeForHeaderInSection:(NSInteger)section
|
||||
- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode sizeRangeForHeaderInSection:(NSInteger)section
|
||||
{
|
||||
if (section == 0) {
|
||||
return ASSizeRangeUnconstrained;
|
||||
@ -214,7 +214,7 @@ static const CGFloat kVerticalSectionPadding = 20.0f;
|
||||
}
|
||||
}
|
||||
|
||||
- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode referenceConstrainedSizeForFooterInSection:(NSInteger)section
|
||||
- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode sizeRangeForFooterInSection:(NSInteger)section
|
||||
{
|
||||
if (section == 0) {
|
||||
return ASSizeRangeUnconstrained;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user