Skip to content

Commit

Permalink
Fix comparing uuids of elements recycler list (#2889)
Browse files Browse the repository at this point in the history
  • Loading branch information
osdnk authored and skylarbarrera committed Feb 1, 2022
1 parent 1cc9145 commit a2eee3b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import useLayoutItemAnimator from './useLayoutItemAnimator';
import { useCoinListEdited } from '@rainbow-me/hooks';

const dataProvider = new DataProvider((r1, r2) => {
return r1.uid === r2.uid;
return r1.uid !== r2.uid;
});

const RawMemoRecyclerAssetList = React.memo(function RawRecyclerAssetList({
Expand Down Expand Up @@ -52,7 +52,7 @@ const RawMemoRecyclerAssetList = React.memo(function RawRecyclerAssetList({
onLayout={onLayout}
ref={ref as LegacyRef<RecyclerListViewRef>}
refreshControl={<RefreshControl />}
renderAheadOffset={ios ? 700 : 2000}
renderAheadOffset={700}
rowRenderer={rowRenderer}
/>
);
Expand Down

0 comments on commit a2eee3b

Please sign in to comment.