mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-12 09:19:52 +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
|
#pragma mark - ASCollectionDelegateFlowLayout
|
||||||
|
|
||||||
- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode referenceConstrainedSizeForHeaderInSection:(NSInteger)section
|
- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode sizeRangeForHeaderInSection:(NSInteger)section
|
||||||
{
|
{
|
||||||
if (section == 0) {
|
if (section == 0) {
|
||||||
return ASSizeRangeUnconstrained;
|
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) {
|
if (section == 0) {
|
||||||
return ASSizeRangeUnconstrained;
|
return ASSizeRangeUnconstrained;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user