mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-17 11:50:56 +00:00
Fix ASPagerNode delegate and data source warning (#2076)
This commit is contained in:
parent
067e4998e2
commit
365f739ce7
@ -63,8 +63,8 @@
|
|||||||
[super didLoad];
|
[super didLoad];
|
||||||
|
|
||||||
ASCollectionView *cv = self.view;
|
ASCollectionView *cv = self.view;
|
||||||
cv.asyncDataSource = _proxyDataSource ?: self;
|
cv.asyncDataSource = (id<ASCollectionViewDataSource>)_proxyDataSource ?: self;
|
||||||
cv.asyncDelegate = _proxyDelegate ?: self;
|
cv.asyncDelegate = (id<ASCollectionViewDelegate>)_proxyDelegate ?: self;
|
||||||
#if TARGET_OS_IOS
|
#if TARGET_OS_IOS
|
||||||
cv.pagingEnabled = YES;
|
cv.pagingEnabled = YES;
|
||||||
cv.scrollsToTop = NO;
|
cv.scrollsToTop = NO;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user