diff options
Diffstat (limited to 'src/view/com/util/List.tsx')
-rw-r--r-- | src/view/com/util/List.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/util/List.tsx b/src/view/com/util/List.tsx index a4e1a0947..41ca5b572 100644 --- a/src/view/com/util/List.tsx +++ b/src/view/com/util/List.tsx @@ -152,6 +152,9 @@ let List = React.forwardRef<ListMethods, ListProps>( return ( <FlatList_INTERNAL + showsVerticalScrollIndicator={!isAndroid} // overridable + onViewableItemsChanged={onViewableItemsChanged} + viewabilityConfig={viewabilityConfig} {...props} automaticallyAdjustsScrollIndicatorInsets={ automaticallyAdjustsScrollIndicatorInsets @@ -166,9 +169,6 @@ let List = React.forwardRef<ListMethods, ListProps>( onScroll={scrollHandler} scrollsToTop={!activeLightbox} scrollEventThrottle={1} - onViewableItemsChanged={onViewableItemsChanged} - viewabilityConfig={viewabilityConfig} - showsVerticalScrollIndicator={!isAndroid} style={style} // @ts-expect-error FlatList_INTERNAL ref type is wrong -sfn ref={ref} |