mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-01 08:45:09 +08:00
Fix conditional
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
- (BOOL)_dataSourceIsEmpty
|
||||
{
|
||||
return ([self.collectionView numberOfSections] > 0 && [self.collectionView numberOfItemsInSection:0] > 0);
|
||||
return ([self.collectionView numberOfSections] == 0 || [self.collectionView numberOfItemsInSection:0] == 0);
|
||||
}
|
||||
|
||||
- (CGRect)_visibleRect
|
||||
|
||||
Reference in New Issue
Block a user