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:47:41 +0000
committerGitHub <noreply@github.com>2023-12-11 13:47:41 -0800
commitab04074197f8432a3d502ca2393beca3b8f6ca97 (patch)
tree6ee1a3af73b2afbc4a36300aab9561ebebbcffd6 /src/view/com/lists
parent8929ff526fa7f81c23decaf05898f396e5fe0de9 (diff)
downloadvoidsky-ab04074197f8432a3d502ca2393beca3b8f6ca97.tar.zst
Fix scroll on native (#2170)
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 54fe86fd2..1bd9d188f 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_FIXED} from '#/lib/hooks/useAnimatedScrollHandler_FIXED'
+import {useAnimatedScrollHandler} 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_FIXED(onScroll || {})
+    const scrollHandler = useAnimatedScrollHandler(onScroll || {})
     return (
       <View testID={testID} style={style}>
         <FlatList