Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Update WXRecyclerUpdateController.m
Browse files Browse the repository at this point in the history
Fix one crash.

```
*** -[__NSDictionaryM setObject:forKey:]: key cannot be nil
```

This exception will be yelled at line 167.
  • Loading branch information
AntiMoron committed May 22, 2018
1 parent 7102479 commit 320979e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ - (void)performBatchUpdates
[self.delegate updateController:self willPerformUpdateWithNewData:newData];
[UIView setAnimationsEnabled:NO];
WXLogDebug(@"UICollectionView update:%@", diffResult);
if(!diffResult.hasChanges) { return ; }
[self applyUpdate:diffResult toCollectionView:self.collectionView];
} copy];

Expand Down

0 comments on commit 320979e

Please sign in to comment.