diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-01-21 21:36:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-21 21:36:09 +0000 |
commit | f0cc83154b7e0d26af4a0c44c0fe78a9589d3f93 (patch) | |
tree | 7f1edb6bfb46972980772e47d3cbaeca04421186 /src/components/Layout | |
parent | f5b277c9f862c7aed900cf18d72280ad13a90338 (diff) | |
download | voidsky-f0cc83154b7e0d26af4a0c44c0fe78a9589d3f93.tar.zst |
move indicatorStyle to `List` (#7526)
Diffstat (limited to 'src/components/Layout')
-rw-r--r-- | src/components/Layout/index.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
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]} |