diff --git a/src/view/com/util/List.tsx b/src/view/com/util/List.tsx index 19ec9a8a27..d2e5cf76a4 100644 --- a/src/view/com/util/List.tsx +++ b/src/view/com/util/List.tsx @@ -6,7 +6,10 @@ import {runOnJS, useSharedValue} from 'react-native-reanimated' import {useAnimatedScrollHandler} from '#/lib/hooks/useAnimatedScrollHandler_FIXED' export type ListMethods = FlatList_INTERNAL -export type ListProps = FlatListProps & { +export type ListProps = Omit< + FlatListProps, + 'onScroll' // Use ScrollContext instead. +> & { onScrolledDownChange?: (isScrolledDown: boolean) => void } export type ListRef = React.MutableRefObject