diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-05-07 18:48:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-07 18:48:51 -0400 |
| commit | fa51a3c6894028828679c551027ec232ed8203b1 (patch) | |
| tree | b55ece7257c868f3cb9eeae4a70fb7b220040fb5 /src/components/moments/MomentPostContent.tsx | |
| parent | 893e7bf7a49eb612a975dddae4d792a035b9f420 (diff) | |
| parent | 82bfc01d95275ebe4a63695326b3b775807c2408 (diff) | |
Merge pull request #404 from IvanIFChen/hotfix-mentions-bugfixes
[HOTFIX] Mentions Bugfixes
Diffstat (limited to 'src/components/moments/MomentPostContent.tsx')
| -rw-r--r-- | src/components/moments/MomentPostContent.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/moments/MomentPostContent.tsx b/src/components/moments/MomentPostContent.tsx index 03034925..45186ba1 100644 --- a/src/components/moments/MomentPostContent.tsx +++ b/src/components/moments/MomentPostContent.tsx @@ -11,7 +11,7 @@ import { SCREEN_HEIGHT, SCREEN_WIDTH, } from '../../utils'; -import {renderTextWithMentions} from '../../utils/comments'; +import {mentionPartTypes, renderTextWithMentions} from '../../utils/comments'; import {CommentsCount} from '../comments'; interface MomentPostContentProps extends ViewProps { @@ -62,6 +62,7 @@ const MomentPostContent: React.FC<MomentPostContentProps> = ({ {renderTextWithMentions({ value: caption, styles: styles.captionText, + partTypes: mentionPartTypes('white'), onPress: (user: UserType) => navigateToProfile(state, dispatch, navigation, screenType, user), })} @@ -101,7 +102,7 @@ const styles = StyleSheet.create({ marginLeft: '5%', marginRight: '5%', color: '#ffffff', - fontWeight: 'bold', + fontWeight: '500', }, }); export default MomentPostContent; |
