mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-25 00:11:43 +02:00
disabling setting theme without breaking the build
This commit is contained in:
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…
x
Reference in New Issue
Block a user