mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Remove stubbed collection view layout setter behavior
This commit is contained in:
@@ -337,15 +337,6 @@ static BOOL _isInterceptedSelector(SEL sel)
|
|||||||
[_layoutInspector didChangeCollectionViewDelegate:asyncDelegate];
|
[_layoutInspector didChangeCollectionViewDelegate:asyncDelegate];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)setCollectionViewLayout:(UICollectionViewLayout *)collectionViewLayout
|
|
||||||
{
|
|
||||||
[super setCollectionViewLayout:collectionViewLayout];
|
|
||||||
if ([collectionViewLayout asdk_isFlowLayout]) {
|
|
||||||
_flowLayoutInspector = nil;
|
|
||||||
_layoutInspector = [self flowLayoutInspector];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)setTuningParameters:(ASRangeTuningParameters)tuningParameters forRangeType:(ASLayoutRangeType)rangeType
|
- (void)setTuningParameters:(ASRangeTuningParameters)tuningParameters forRangeType:(ASLayoutRangeType)rangeType
|
||||||
{
|
{
|
||||||
[_layoutController setTuningParameters:tuningParameters forRangeType:rangeType];
|
[_layoutController setTuningParameters:tuningParameters forRangeType:rangeType];
|
||||||
|
|||||||
Reference in New Issue
Block a user