Show parent post in composer when replying (close #3)
This commit is contained in:
@@ -43,7 +43,17 @@ export const FeedItem = observer(function FeedItem({
|
||||
}, [record.reply])
|
||||
|
||||
const onPressReply = () => {
|
||||
store.shell.openComposer({replyTo: {uri: item.uri, cid: item.cid}})
|
||||
store.shell.openComposer({
|
||||
replyTo: {
|
||||
uri: item.uri,
|
||||
cid: item.cid,
|
||||
text: item.record.text as string,
|
||||
author: {
|
||||
handle: item.author.handle,
|
||||
displayName: item.author.displayName,
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
const onPressToggleRepost = () => {
|
||||
item
|
||||
|
||||
Reference in New Issue
Block a user