mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +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];
|
||||
|
||||
ASCollectionView *cv = self.view;
|
||||
cv.asyncDataSource = _proxyDataSource ?: self;
|
||||
cv.asyncDelegate = _proxyDelegate ?: self;
|
||||
cv.asyncDataSource = (id<ASCollectionViewDataSource>)_proxyDataSource ?: self;
|
||||
cv.asyncDelegate = (id<ASCollectionViewDelegate>)_proxyDelegate ?: self;
|
||||
#if TARGET_OS_IOS
|
||||
cv.pagingEnabled = YES;
|
||||
cv.scrollsToTop = NO;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user