From c9e9a4b7d4f35faab2578c6987b91fc404b951e1 Mon Sep 17 00:00:00 2001 From: Maxime Ollivier Date: Mon, 6 Jul 2020 10:33:03 -0700 Subject: [PATCH] fix param order Summary: Noob mistake Reviewed By: Haud Differential Revision: D22393044 fbshipit-source-id: e27dc0d94d76df82f4aee5dc7575b2564177bc7d --- Source/IGListKit/IGListAdapterUpdater.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/IGListKit/IGListAdapterUpdater.m b/Source/IGListKit/IGListAdapterUpdater.m index 0c5e37a5..e84e4228 100644 --- a/Source/IGListKit/IGListAdapterUpdater.m +++ b/Source/IGListKit/IGListAdapterUpdater.m @@ -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); });