From b34d224207b9acb4b86dcd5aa7aba54f1f217e1d Mon Sep 17 00:00:00 2001
From: Hailey <me@haileyok.com>
Date: Mon, 6 May 2024 12:59:36 -0700
Subject: remove `hide_vertical_scrollbars` test (#3855)

---
 src/view/com/util/List.tsx | 6 ------
 1 file changed, 6 deletions(-)

(limited to 'src/view/com/util/List.tsx')

diff --git a/src/view/com/util/List.tsx b/src/view/com/util/List.tsx
index 61dc5f81d..84b401e63 100644
--- a/src/view/com/util/List.tsx
+++ b/src/view/com/util/List.tsx
@@ -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')
-      }
     />
   )
 }
-- 
cgit 1.4.1

