diff options
author | Ivan Chen <ivan@tagg.id> | 2021-01-22 18:07:16 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-01-22 18:07:16 -0500 |
commit | d31f8c3ad157f4637a37ce83ee16bdba048126f8 (patch) | |
tree | 9dfe8b15c69ac9162b360d54fb846ba039a517b1 /src/components/profile/Content.tsx | |
parent | ad321571af78b5ea58a8e3e35820d5c3cf1c607b (diff) | |
parent | 8fa77a7e5b73687c9b4f7480dc706498ef8e61ec (diff) |
Merge branch 'master' into tma552-adjust-styles-and-sizes
# Conflicts:
# src/screens/profile/MomentCommentsScreen.tsx
Diffstat (limited to 'src/components/profile/Content.tsx')
-rw-r--r-- | src/components/profile/Content.tsx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx index 140c911c..4082f734 100644 --- a/src/components/profile/Content.tsx +++ b/src/components/profile/Content.tsx @@ -47,6 +47,12 @@ import {TouchableOpacity} from 'react-native-gesture-handler'; import {useFocusEffect, useNavigation} from '@react-navigation/native'; import GreyPlusLogo from '../../assets/icons/grey-plus-logo.svg'; import {TaggPrompt} from '../common'; +import { + UPLOAD_MOMENT_PROMPT_THREE_HEADER, + UPLOAD_MOMENT_PROMPT_THREE_MESSAGE, + UPLOAD_MOMENT_PROMPT_TWO_HEADER, + UPLOAD_MOMENT_PROMPT_TWO_MESSAGE, +} from '../../constants/strings'; interface ContentProps { y: Animated.Value<number>; @@ -345,10 +351,8 @@ const Content: React.FC<ContentProps> = ({y, userXId, screenType}) => { profile.profile_completion_stage === 2 && !isStageTwoPromptClosed && ( <TaggPrompt - messageHeader="Create a new category" - messageBody={ - 'Post your first moment to continue building your digital identity!' - } + messageHeader={UPLOAD_MOMENT_PROMPT_TWO_HEADER} + messageBody={UPLOAD_MOMENT_PROMPT_TWO_MESSAGE} logoType="" onClose={() => { setIsStageTwoPromptClosed(true); @@ -359,10 +363,8 @@ const Content: React.FC<ContentProps> = ({y, userXId, screenType}) => { profile.profile_completion_stage === 3 && !isStageThreePromptClosed && ( <TaggPrompt - messageHeader="Continue to build your profile" - messageBody={ - 'Continue to personalize your own digital space in\nthis community by filling your profile with\ncategories and moments!' - } + messageHeader={UPLOAD_MOMENT_PROMPT_THREE_HEADER} + messageBody={UPLOAD_MOMENT_PROMPT_THREE_MESSAGE} logoType="" onClose={() => { setIsStageThreePromptClosed(true); |