mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-15 23:03:18 +00:00
Add next/previous navigation in modal for media attachments
This commit is contained in:
parent
21972bb398
commit
44fad0160f
7 changed files with 132 additions and 21 deletions
|
|
@ -91,8 +91,8 @@ const mapDispatchToProps = (dispatch) => ({
|
|||
dispatch(mentionCompose(account, router));
|
||||
},
|
||||
|
||||
onOpenMedia (url) {
|
||||
dispatch(openMedia(url));
|
||||
onOpenMedia (media, index) {
|
||||
dispatch(openMedia(media, index));
|
||||
},
|
||||
|
||||
onBlock (account) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue