[Glitch] Make the "mark media as sensitive" button more obvious in web UI
Port 05ef3462ba
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
parent
b1ab4d5ebe
commit
f59973cc85
7 changed files with 64 additions and 48 deletions
|
@ -2,7 +2,6 @@ import { connect } from 'react-redux';
|
|||
import Options from '../components/options';
|
||||
import {
|
||||
changeComposeAdvancedOption,
|
||||
changeComposeSensitivity,
|
||||
} from 'flavours/glitch/actions/compose';
|
||||
import { addPoll, removePoll } from 'flavours/glitch/actions/compose';
|
||||
import { closeModal, openModal } from 'flavours/glitch/actions/modal';
|
||||
|
@ -27,10 +26,6 @@ const mapDispatchToProps = (dispatch) => ({
|
|||
dispatch(changeComposeAdvancedOption(option, value));
|
||||
},
|
||||
|
||||
onChangeSensitivity() {
|
||||
dispatch(changeComposeSensitivity());
|
||||
},
|
||||
|
||||
onTogglePoll() {
|
||||
dispatch((_, getState) => {
|
||||
if (getState().getIn(['compose', 'poll'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue