removed app settings additions

master
cwm 7 years ago
parent 8606e53384
commit 7a8711ccac
  1. 2
      app/javascript/flavours/glitch/features/ui/index.js
  2. 1
      app/javascript/flavours/glitch/reducers/local_settings.js

@ -57,7 +57,6 @@ const mapStateToProps = state => ({
layout: state.getIn(['local_settings', 'layout']), layout: state.getIn(['local_settings', 'layout']),
isWide: state.getIn(['local_settings', 'stretch']), isWide: state.getIn(['local_settings', 'stretch']),
navbarUnder: state.getIn(['local_settings', 'navbar_under']), navbarUnder: state.getIn(['local_settings', 'navbar_under']),
favouriteModal: state.getIn(['local_settings', 'favourite_modal']),
}); });
const keyMap = { const keyMap = {
@ -104,7 +103,6 @@ export default class UI extends React.Component {
isWide: PropTypes.bool, isWide: PropTypes.bool,
systemFontUi: PropTypes.bool, systemFontUi: PropTypes.bool,
navbarUnder: PropTypes.bool, navbarUnder: PropTypes.bool,
favouriteModal: PropTypes.bool,
isComposing: PropTypes.bool, isComposing: PropTypes.bool,
hasComposingText: PropTypes.bool, hasComposingText: PropTypes.bool,
location: PropTypes.object, location: PropTypes.object,

@ -9,7 +9,6 @@ const initialState = ImmutableMap({
layout : 'auto', layout : 'auto',
stretch : true, stretch : true,
navbar_under : false, navbar_under : false,
favourite_modal : false,
side_arm : 'none', side_arm : 'none',
collapsed : ImmutableMap({ collapsed : ImmutableMap({
enabled : true, enabled : true,

Loading…
Cancel
Save