|
|
@ -54,6 +54,9 @@ const messages = defineMessages({
|
|
|
|
const mapStateToProps = state => ({
|
|
|
|
const mapStateToProps = state => ({
|
|
|
|
isComposing: state.getIn(['compose', 'is_composing']),
|
|
|
|
isComposing: state.getIn(['compose', 'is_composing']),
|
|
|
|
hasComposingText: state.getIn(['compose', 'text']) !== '',
|
|
|
|
hasComposingText: state.getIn(['compose', 'text']) !== '',
|
|
|
|
|
|
|
|
layout: state.getIn(['local_settings', 'layout']),
|
|
|
|
|
|
|
|
isWide: state.getIn(['local_settings', 'stretch']),
|
|
|
|
|
|
|
|
navbarUnder: state.getIn(['local_settings', 'navbar_under'])
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
const keyMap = {
|
|
|
|
const keyMap = {
|
|
|
|