mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
@@ -123,7 +123,8 @@
|
||||
{
|
||||
__weak __typeof__(self) weakSelf = self;
|
||||
ASDisplayNodeViewBlock collectionViewBlock = ^UIView *{
|
||||
__typeof__(self) strongSelf = weakSelf;
|
||||
// Variable will be unused if event logging is off.
|
||||
__unused __typeof__(self) strongSelf = weakSelf;
|
||||
return [[ASCollectionView alloc] _initWithFrame:frame collectionViewLayout:layout layoutFacilitator:layoutFacilitator eventLog:ASDisplayNodeGetEventLog(strongSelf)];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user