fix param order

Summary: Noob mistake

Reviewed By: Haud

Differential Revision: D22393044

fbshipit-source-id: e27dc0d94d76df82f4aee5dc7575b2564177bc7d
This commit is contained in:
Maxime Ollivier 2020-07-06 10:33:03 -07:00 committed by Facebook GitHub Bot
parent d5c7076063
commit c9e9a4b7d4

View file

@ -305,7 +305,7 @@ willPerformBatchUpdatesWithCollectionView:collectionView
const BOOL onBackgroundThread = IGListExperimentEnabled(experiments, IGListExperimentBackgroundDiffing);
[delegate listAdapterUpdater:self willDiffFromObjects:fromObjects toObjects:toObjects];
IGListAdapterUpdaterPerformDiffing(fromObjects, toObjects, IGListDiffEquality, onBackgroundThread, experiments, ^(IGListIndexSetResult *result){
IGListAdapterUpdaterPerformDiffing(fromObjects, toObjects, IGListDiffEquality, experiments, onBackgroundThread, ^(IGListIndexSetResult *result){
[delegate listAdapterUpdater:self didDiffWithResults:result onBackgroundThread:onBackgroundThread];
tryToPerformUpdate(result);
});