aboutsummaryrefslogtreecommitdiff
path: root/src/components/taggs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/taggs')
-rw-r--r--src/components/taggs/TaggsBar.tsx41
1 files changed, 22 insertions, 19 deletions
diff --git a/src/components/taggs/TaggsBar.tsx b/src/components/taggs/TaggsBar.tsx
index 567b58de..a87da3e2 100644
--- a/src/components/taggs/TaggsBar.tsx
+++ b/src/components/taggs/TaggsBar.tsx
@@ -112,25 +112,28 @@ const TaggsBar: React.FC<TaggsBarProps> = ({
loadData();
}
}, [taggsNeedUpdate, user]);
-
- const shadowOpacity: Animated.Node<number> = interpolate(y, {
- inputRange: [
- PROFILE_CUTOUT_BOTTOM_Y + profileBodyHeight,
- PROFILE_CUTOUT_BOTTOM_Y + profileBodyHeight + 20,
- ],
- outputRange: [0, 0.2],
- extrapolate: Extrapolate.CLAMP,
- });
- const paddingTop: Animated.Node<number> = interpolate(y, {
- inputRange: [
- PROFILE_CUTOUT_BOTTOM_Y +
- profileBodyHeight -
- (useSafeAreaInsets().top + 10),
- PROFILE_CUTOUT_BOTTOM_Y + profileBodyHeight,
- ],
- outputRange: [10, useSafeAreaInsets().top],
- extrapolate: Extrapolate.CLAMP,
- });
+// TODO: (Leon) use reanimated v2
+ const shadowOpacity = 0;
+ // const shadowOpacity: Animated.Node<number> = interpolate(y, {
+ // inputRange: [
+ // PROFILE_CUTOUT_BOTTOM_Y + profileBodyHeight,
+ // PROFILE_CUTOUT_BOTTOM_Y + profileBodyHeight + 20,
+ // ],
+ // outputRange: [0, 0.2],
+ // extrapolate: Extrapolate.CLAMP,
+ // });
+ // TODO: (Leon) use reanimated v2
+ const paddingTop = 0;
+ // const paddingTop: Animated.Node<number> = interpolate(y, {
+ // inputRange: [
+ // PROFILE_CUTOUT_BOTTOM_Y +
+ // profileBodyHeight -
+ // (useSafeAreaInsets().top + 10),
+ // PROFILE_CUTOUT_BOTTOM_Y + profileBodyHeight,
+ // ],
+ // outputRange: [10, useSafeAreaInsets().top],
+ // extrapolate: Extrapolate.CLAMP,
+ // });
return taggs.length > 0 ? (
<View