From 69bcee9740903f3d142d964f00756ca176ecab36 Mon Sep 17 00:00:00 2001 From: Ashm Walia Date: Wed, 20 Jan 2021 20:47:10 -0800 Subject: looks like donw --- src/routes/main/MainStackScreen.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index b4eaa213..389b1a9d 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -156,7 +156,19 @@ const MainStackScreen: React.FC = ({route}) => { name="IndividualMoment" component={IndividualMoment} options={{ - ...modalStyle, + gestureEnabled: false, + cardStyle: { + backgroundColor: 'rgba(52, 52, 52, 0.8)', + }, + cardOverlayEnabled: true, + cardStyleInterpolator: ({current: {progress}}) => ({ + cardStyle: { + opacity: progress.interpolate({ + inputRange: [0, 0.5, 0.9, 1], + outputRange: [0, 0.25, 0.7, 1], + }), + }, + }), }} initialParams={{screenType}} /> -- cgit v1.2.3-70-g09d2 From 4a807e939cd4bcafaee5802dfdc9be4fc55fb94b Mon Sep 17 00:00:00 2001 From: Ashm Walia Date: Thu, 21 Jan 2021 08:04:07 -0800 Subject: sdd --- src/routes/main/MainStackScreen.tsx | 2 +- src/screens/profile/IndividualMoment.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index 389b1a9d..9250d0d1 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -158,7 +158,7 @@ const MainStackScreen: React.FC = ({route}) => { options={{ gestureEnabled: false, cardStyle: { - backgroundColor: 'rgba(52, 52, 52, 0.8)', + backgroundColor: 'rgba(0, 0, 0, 0.6)', }, cardOverlayEnabled: true, cardStyleInterpolator: ({current: {progress}}) => ({ diff --git a/src/screens/profile/IndividualMoment.tsx b/src/screens/profile/IndividualMoment.tsx index f13e1295..6b82b31c 100644 --- a/src/screens/profile/IndividualMoment.tsx +++ b/src/screens/profile/IndividualMoment.tsx @@ -80,7 +80,7 @@ const IndividualMoment: React.FC = ({ return (