about summary refs log tree commit diff
path: root/src/view/com/lists
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2023-12-11 21:24:31 +0000
committerGitHub <noreply@github.com>2023-12-11 13:24:31 -0800
commit8929ff526fa7f81c23decaf05898f396e5fe0de9 (patch)
treee58c2e0722002d49f631f3676a87d41e7805d523 /src/view/com/lists
parentb82c5177b9987efe92a642e9619dde604dda3da0 (diff)
downloadvoidsky-8929ff526fa7f81c23decaf05898f396e5fe0de9.tar.zst
Fix scroll on profile lists/feeds (#2168)
Diffstat (limited to 'src/view/com/lists')
-rw-r--r--src/view/com/lists/ProfileLists.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/lists/ProfileLists.tsx b/src/view/com/lists/ProfileLists.tsx
index 0609c0e21..54fe86fd2 100644
--- a/src/view/com/lists/ProfileLists.tsx
+++ b/src/view/com/lists/ProfileLists.tsx
@@ -20,7 +20,7 @@ import {OnScrollHandler} from '#/lib/hooks/useOnMainScroll'
 import {logger} from '#/logger'
 import {Trans} from '@lingui/macro'
 import {cleanError} from '#/lib/strings/errors'
-import {useAnimatedScrollHandler} from 'react-native-reanimated'
+import {useAnimatedScrollHandler_FIXED} from '#/lib/hooks/useAnimatedScrollHandler_FIXED'
 import {useTheme} from '#/lib/ThemeContext'
 import {FeedLoadingPlaceholder} from '#/view/com/util/LoadingPlaceholder'
 import {isNative} from '#/platform/detection'
@@ -187,7 +187,7 @@ export const ProfileLists = React.forwardRef<SectionRef, ProfileListsProps>(
       [error, refetch, onPressRetryLoadMore, pal],
     )
 
-    const scrollHandler = useAnimatedScrollHandler(onScroll || {})
+    const scrollHandler = useAnimatedScrollHandler_FIXED(onScroll || {})
     return (
       <View testID={testID} style={style}>
         <FlatList