Merge pull request #2357 from matrix-org/bwindels/fixedtheme

Redesign: disable setting theme completely
This commit is contained in:
Bruno Windels
2018-12-17 12:00:39 +00:00
committed by GitHub
+5 -3
View File
@@ -673,9 +673,11 @@ export default React.createClass({
}); });
break; break;
} }
case 'set_theme': // case 'set_theme':
this._onSetTheme(payload.value); // disable changing the theme for now
break; // as other themes are not compatible with dharma
// this._onSetTheme(payload.value);
// break;
case 'on_logging_in': case 'on_logging_in':
// We are now logging in, so set the state to reflect that // We are now logging in, so set the state to reflect that
// NB. This does not touch 'ready' since if our dispatches // NB. This does not touch 'ready' since if our dispatches