aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-30 18:26:19 -0400
committerIvan Chen <ivan@tagg.id>2021-05-04 20:48:07 -0400
commite67c5d50ebd33967c069134aa0e03111674e1c5d (patch)
treed1d5886e6c3fc63bcd1de07da280ea396c4d26e9 /src/screens
parent9322aede82815ba5a6bddf5b289692955d6e1d96 (diff)
added mentioning for reply
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/profile/MomentCommentsScreen.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/screens/profile/MomentCommentsScreen.tsx b/src/screens/profile/MomentCommentsScreen.tsx
index effbbb63..73266a39 100644
--- a/src/screens/profile/MomentCommentsScreen.tsx
+++ b/src/screens/profile/MomentCommentsScreen.tsx
@@ -66,10 +66,11 @@ const MomentCommentsScreen: React.FC<MomentCommentsScreenProps> = ({route}) => {
: ADD_COMMENT_TEXT()
}
setNewCommentsAvailable={setNewCommentsAvailable}
- objectId={
- commentObjectInFocus ? commentObjectInFocus.comment_id : moment_id
+ commentInReplyTo={
+ commentObjectInFocus ? commentObjectInFocus : undefined
}
- isCommentInFocus={commentObjectInFocus ? true : false}
+ momentId={commentObjectInFocus ? undefined : moment_id}
+ isReplying={commentObjectInFocus ? true : false}
/>
</View>
</SafeAreaView>