mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-05 22:48:21 +00:00
Demoting assertion for performing batch updates on empty collection view
Summary: We keep receiving must fixes for this assert that effectively are not followed up since they are hard to debug and seems do not affect the app. Demoting. Reviewed By: candance Differential Revision: D44934015 fbshipit-source-id: a65b8a5980a1e2a8ab48201987e90fdff646c498
This commit is contained in:
parent
26ddcb503a
commit
6f39c3140e
1 changed files with 1 additions and 1 deletions
|
|
@ -1274,7 +1274,7 @@ typedef struct OffsetRange {
|
|||
- (void)performBatchAnimated:(BOOL)animated updates:(void (^)(id<IGListBatchContext>))updates completion:(void (^)(BOOL))completion {
|
||||
IGAssertMainThread();
|
||||
IGParameterAssert(updates != nil);
|
||||
IGAssert(self.collectionView != nil, @"Performing batch updates without a collection view.");
|
||||
IGWarn(self.collectionView != nil, @"Performing batch updates without a collection view.");
|
||||
|
||||
[self _enterBatchUpdates];
|
||||
__weak __typeof__(self) weakSelf = self;
|
||||
|
|
|
|||
Loading…
Reference in a new issue