remove hide_vertical_scrollbars test (#3855)

This commit is contained in:
Hailey 2024-05-06 12:59:36 -07:00 committed by GitHub
parent db0b030359
commit b34d224207
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1 additions and 28 deletions

View file

@ -5,9 +5,7 @@ import {runOnJS, useSharedValue} from 'react-native-reanimated'
import {useAnimatedScrollHandler} from '#/lib/hooks/useAnimatedScrollHandler_FIXED'
import {usePalette} from '#/lib/hooks/usePalette'
import {useScrollHandlers} from '#/lib/ScrollContext'
import {useGate} from 'lib/statsig/statsig'
import {addStyle} from 'lib/styles'
import {isWeb} from 'platform/detection'
import {FlatList_INTERNAL} from './Views'
export type ListMethods = FlatList_INTERNAL
@ -45,7 +43,6 @@ function ListImpl<ItemT>(
const isScrolledDown = useSharedValue(false)
const contextScrollHandlers = useScrollHandlers()
const pal = usePalette('default')
const gate = useGate()
function handleScrolledDownChange(didScrollDown: boolean) {
onScrolledDownChange?.(didScrollDown)
@ -107,9 +104,6 @@ function ListImpl<ItemT>(
scrollEventThrottle={1}
style={style}
ref={ref}
showsVerticalScrollIndicator={
isWeb || !gate('hide_vertical_scroll_indicators')
}
/>
)
}