Browse Source

Throw layout, isWide, navbarUnder back into mapStateToProps.

This gets wide view, auto layout, and navbar-under-mobile working again.
closed-social-glitch-2
David Yip 6 years ago
parent
commit
392945f9a3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/javascript/mastodon/features/ui/index.js

+ 3
- 0
app/javascript/mastodon/features/ui/index.js View File

@ -54,6 +54,9 @@ const messages = defineMessages({
const mapStateToProps = state => ({
isComposing: state.getIn(['compose', 'is_composing']),
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 = {

Loading…
Cancel
Save