mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 08:48:15 +00:00
Add Rebloggability toggles to compose_form_container.jsx
This commit is contained in:
parent
d27c50d5c6
commit
0da23279fa
|
@ -8,6 +8,7 @@ import {
|
|||
fetchComposeSuggestions,
|
||||
selectComposeSuggestion,
|
||||
changeComposeSensitivity,
|
||||
changeComposeRebloggability,
|
||||
changeComposeVisibility
|
||||
} from '../../../actions/compose';
|
||||
import { makeGetStatus } from '../../../selectors';
|
||||
|
@ -61,6 +62,10 @@ const mapDispatchToProps = function (dispatch) {
|
|||
dispatch(changeComposeSensitivity(checked));
|
||||
},
|
||||
|
||||
onChangeRebloggability (checked) {
|
||||
dispatch(changeComposeRebloggability(checked));
|
||||
},
|
||||
|
||||
onChangeVisibility (checked) {
|
||||
dispatch(changeComposeVisibility(checked));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user