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
commit 4264f915a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -673,9 +673,11 @@ export default React.createClass({
});
break;
}
case 'set_theme':
this._onSetTheme(payload.value);
break;
// case 'set_theme':
// disable changing the theme for now
// as other themes are not compatible with dharma
// this._onSetTheme(payload.value);
// break;
case 'on_logging_in':
// We are now logging in, so set the state to reflect that
// NB. This does not touch 'ready' since if our dispatches