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

@ -2,19 +2,11 @@ import React from 'react'
import {View} from 'react-native'
import Animated from 'react-native-reanimated'
import {useGate} from 'lib/statsig/statsig'
export const FlatList_INTERNAL = Animated.FlatList
export function CenteredView(props) {
return <View {...props} />
}
export function ScrollView(props) {
const gate = useGate()
return (
<Animated.ScrollView
{...props}
showsVerticalScrollIndicator={!gate('hide_vertical_scroll_indicators')}
/>
)
return <Animated.ScrollView {...props} />
}