aboutsummaryrefslogtreecommitdiff
path: root/src/routes/main/MainStackScreen.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/main/MainStackScreen.tsx')
-rw-r--r--src/routes/main/MainStackScreen.tsx18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx
index 8068b893..b72ab779 100644
--- a/src/routes/main/MainStackScreen.tsx
+++ b/src/routes/main/MainStackScreen.tsx
@@ -98,10 +98,11 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => {
cardOverlayEnabled: true,
cardStyleInterpolator: ({current: {progress}}) => ({
cardStyle: {
- opacity: progress.interpolate({
- inputRange: [0, 0.5, 0.9, 1],
- outputRange: [0, 0.25, 0.7, 1],
- }),
+ // TODO: (Leon) use reanimated v2
+ // opacity: progress.interpolate({
+ // inputRange: [0, 0.5, 0.9, 1],
+ // outputRange: [0, 0.25, 0.7, 1],
+ // }),
},
}),
};
@@ -348,10 +349,11 @@ export const modalStyle: StackNavigationOptions = {
cardOverlayEnabled: true,
cardStyleInterpolator: ({current: {progress}}) => ({
cardStyle: {
- opacity: progress.interpolate({
- inputRange: [0, 0.5, 0.9, 1],
- outputRange: [0, 0.25, 0.7, 1],
- }),
+ // TODO: (Leon) use reanimated v2
+ // opacity: progress.interpolate({
+ // inputRange: [0, 0.5, 0.9, 1],
+ // outputRange: [0, 0.25, 0.7, 1],
+ // }),
},
}),
};