|
|
|
@ -76,7 +76,6 @@ const mapStateToProps = state => ({
|
|
|
|
|
hasComposingText: state.getIn(['compose', 'text']).trim().length !== 0,
|
|
|
|
|
hasMediaAttachments: state.getIn(['compose', 'media_attachments']).size > 0,
|
|
|
|
|
canUploadMore: !state.getIn(['compose', 'media_attachments']).some(x => ['audio', 'video'].includes(x.get('type'))) && state.getIn(['compose', 'media_attachments']).size < 4,
|
|
|
|
|
layout: state.getIn(['meta', 'layout']),
|
|
|
|
|
layout_local_setting: state.getIn(['local_settings', 'layout']),
|
|
|
|
|
isWide: state.getIn(['local_settings', 'stretch']),
|
|
|
|
|
navbarUnder: state.getIn(['local_settings', 'navbar_under']),
|
|
|
|
|