diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Layout/index.tsx | 2 | ||||
-rw-r--r-- | src/components/StarterPack/ProfileStarterPacks.tsx | 1 |
2 files changed, 2 insertions, 1 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]} diff --git a/src/components/StarterPack/ProfileStarterPacks.tsx b/src/components/StarterPack/ProfileStarterPacks.tsx index 64307070b..d8925684b 100644 --- a/src/components/StarterPack/ProfileStarterPacks.tsx +++ b/src/components/StarterPack/ProfileStarterPacks.tsx @@ -136,7 +136,6 @@ export const ProfileStarterPacks = React.forwardRef< headerOffset={headerOffset} progressViewOffset={ios(0)} contentContainerStyle={{paddingBottom: headerOffset + bottomBarOffset}} - indicatorStyle={t.name === 'light' ? 'black' : 'white'} removeClippedSubviews={true} desktopFixedHeight onEndReached={onEndReached} |