Show parent post in composer when replying (close #3)
This commit is contained in:
parent
0840c3f8f7
commit
fbcf0d79d1
5 changed files with 66 additions and 5 deletions
|
@ -50,7 +50,15 @@ export const PostThreadItem = observer(function PostThreadItem({
|
|||
|
||||
const onPressReply = () => {
|
||||
store.shell.openComposer({
|
||||
replyTo: {uri: item.uri, cid: item.cid},
|
||||
replyTo: {
|
||||
uri: item.uri,
|
||||
cid: item.cid,
|
||||
text: item.record.text as string,
|
||||
author: {
|
||||
handle: item.author.handle,
|
||||
displayName: item.author.displayName,
|
||||
},
|
||||
},
|
||||
onPost: onPostReply,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue