mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Remove check for [UIDevice systemVersion] check if running on iOS 7 (#1843)
This commit is contained in:
committed by
appleguy
parent
d8c0253321
commit
c20f452dca
@@ -9,6 +9,7 @@
|
||||
//
|
||||
|
||||
#import "ASAssert.h"
|
||||
#import "ASAvailability.h"
|
||||
#import "ASBatchFetching.h"
|
||||
#import "ASDelegateProxy.h"
|
||||
#import "ASCellNode+Internal.h"
|
||||
@@ -592,7 +593,7 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
|
||||
cell.node = node;
|
||||
[_rangeController configureContentView:cell.contentView forCellNode:node];
|
||||
|
||||
if (ASRunningOnOS7()) {
|
||||
if (!AS_AT_LEAST_IOS8) {
|
||||
// Even though UICV was introduced in iOS 6, and UITableView has always had the equivalent method,
|
||||
// -willDisplayCell: was not introduced until iOS 8 for UICV. didEndDisplayingCell, however, is available.
|
||||
[self collectionView:collectionView willDisplayCell:cell forItemAtIndexPath:indexPath];
|
||||
|
||||
Reference in New Issue
Block a user