From f0cc83154b7e0d26af4a0c44c0fe78a9589d3f93 Mon Sep 17 00:00:00 2001
From: Samuel Newman <mozzius@protonmail.com>
Date: Tue, 21 Jan 2025 21:36:09 +0000
Subject: move indicatorStyle to `List` (#7526)

---
 src/components/Layout/index.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/components/Layout/index.tsx')

diff --git a/src/components/Layout/index.tsx b/src/components/Layout/index.tsx
index 8532cbbb4..489ebb225 100644
--- a/src/components/Layout/index.tsx
+++ b/src/components/Layout/index.tsx
@@ -58,6 +58,7 @@ export const Content = React.memo(function Content({
   contentContainerStyle,
   ...props
 }: ContentProps) {
+  const t = useTheme()
   const {footerHeight} = useShellLayout()
   const animatedProps = useAnimatedProps(() => {
     return {
@@ -73,6 +74,7 @@ export const Content = React.memo(function Content({
     <Animated.ScrollView
       id="content"
       automaticallyAdjustsScrollIndicatorInsets={false}
+      indicatorStyle={t.scheme === 'dark' ? 'white' : 'black'}
       // sets the scroll inset to the height of the footer
       animatedProps={animatedProps}
       style={[scrollViewStyles.common, style]}
-- 
cgit 1.4.1

