Make secondary toot button work nicer with file attachments & revert to the original behavior if it's disabled
This commit is contained in:
@@ -26,6 +26,7 @@ const mapStateToProps = state => ({
|
||||
me: state.getIn(['compose', 'me']),
|
||||
showSearch: state.getIn(['search', 'submitted']) && !state.getIn(['search', 'hidden']),
|
||||
settings: state.get('local_settings'),
|
||||
filesAttached: state.getIn(['compose', 'media_attachments']).size > 0,
|
||||
});
|
||||
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
|
Reference in New Issue
Block a user