aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/routes/main/MainStackScreen.tsx14
-rw-r--r--src/screens/profile/IndividualMoment.tsx2
2 files changed, 14 insertions, 2 deletions
diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx
index 4d238655..3e425101 100644
--- a/src/routes/main/MainStackScreen.tsx
+++ b/src/routes/main/MainStackScreen.tsx
@@ -148,7 +148,19 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => {
name="IndividualMoment"
component={IndividualMoment}
options={{
- ...modalStyle,
+ gestureEnabled: false,
+ cardStyle: {
+ backgroundColor: 'rgba(0, 0, 0, 0.6)',
+ },
+ 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}}
/>
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<IndividualMomentProps> = ({
return (
<BlurView
blurType="light"
- blurAmount={10}
+ blurAmount={30}
reducedTransparencyFallbackColor="white"
style={styles.contentContainer}>
<IndividualMomentTitleBar