diff options
Diffstat (limited to 'src/view/com/post-thread')
-rw-r--r-- | src/view/com/post-thread/PostThreadItem.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index 7263c61b3..bd22ecf9a 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -54,6 +54,11 @@ export const PostThreadItem = observer(function PostThreadItem({ recordKey: urip.recordKey, }) } + const onPressReply = () => { + onNavigateContent('Composer', { + replyTo: item.uri, + }) + } const onPressToggleRepost = () => { item .toggleRepost() @@ -129,13 +134,13 @@ export const PostThreadItem = observer(function PostThreadItem({ <></> )} <View style={styles.ctrls}> - <View style={styles.ctrl}> + <TouchableOpacity style={styles.ctrl} onPress={onPressReply}> <FontAwesomeIcon style={styles.ctrlIcon} icon={['far', 'comment']} /> <Text>{item.replyCount}</Text> - </View> + </TouchableOpacity> <TouchableOpacity style={styles.ctrl} onPress={onPressToggleRepost}> <FontAwesomeIcon style={ |