mirror of https://github.com/vector-im/riot-web
disabling setting theme without breaking the build
parent
649910139a
commit
510cec1ebf
|
@ -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
|
||||
|
@ -1079,10 +1081,6 @@ export default React.createClass({
|
|||
* @param {string} theme new theme
|
||||
*/
|
||||
_onSetTheme: function(theme) {
|
||||
// disable changing the theme for now
|
||||
// as other themes are not compatible with dharma
|
||||
return;
|
||||
|
||||
if (!theme) {
|
||||
theme = SettingsStore.getValue("theme");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue