diff options
Diffstat (limited to 'src/routes')
-rw-r--r-- | src/routes/profile/Profile.tsx | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/routes/profile/Profile.tsx b/src/routes/profile/Profile.tsx index f47d25c4..3cb928e5 100644 --- a/src/routes/profile/Profile.tsx +++ b/src/routes/profile/Profile.tsx @@ -41,7 +41,7 @@ const Profile: React.FC<ProfileStackProps> = ({route}) => { <ProfileStack.Navigator screenOptions={{ headerShown: false, - cardStyle: {backgroundColor: 'transparent'}, + cardStyle: {backgroundColor: 'white'}, cardOverlayEnabled: true, cardStyleInterpolator: ({current: {progress}}) => ({ cardStyle: { @@ -98,18 +98,27 @@ const Profile: React.FC<ProfileStackProps> = ({route}) => { <ProfileStack.Screen name="IndividualMoment" component={IndividualMoment} - options={{headerShown: false}} + options={{ + headerShown: false, + cardStyle: {backgroundColor: 'transparent'}, + }} initialParams={{screenType}} /> <ProfileStack.Screen name="MomentCommentsScreen" component={MomentCommentsScreen} - options={{headerShown: false}} + options={{ + headerShown: false, + cardStyle: {backgroundColor: 'transparent'}, + }} initialParams={{screenType}} /> <ProfileStack.Screen name="FollowersListScreen" component={FollowersListScreen} + options={{ + cardStyle: {backgroundColor: 'transparent'}, + }} initialParams={{screenType}} /> <ProfileStack.Screen |