diff --git a/src/screens/Profile/Header/StatusBarShadow.tsx b/src/screens/Profile/Header/StatusBarShadow.tsx index 7180e62bbe..9fefc378fb 100644 --- a/src/screens/Profile/Header/StatusBarShadow.tsx +++ b/src/screens/Profile/Header/StatusBarShadow.tsx @@ -9,8 +9,6 @@ import {isIOS} from '#/platform/detection' import {usePagerHeaderContext} from '#/view/com/pager/PagerHeaderContext' import {atoms as a} from '#/alf' -const AnimatedLinearGradient = Animated.createAnimatedComponent(LinearGradient) - export function StatusBarShadow() { const {top: topInset} = useSafeAreaInsets() const pagerContext = usePagerHeaderContext() @@ -46,14 +44,20 @@ function StatusBarShadowInnner({scrollY}: {scrollY: SharedValue}) { }) return ( - + {height: topInset}, + animatedStyle, + ]}> + + ) }