disable setting theme completely

This commit is contained in:
Bruno Windels 2018-12-17 12:27:42 +01:00
parent ffec533c17
commit 649910139a

View file

@ -1079,6 +1079,10 @@ export default React.createClass({
* @param {string} theme new theme * @param {string} theme new theme
*/ */
_onSetTheme: function(theme) { _onSetTheme: function(theme) {
// disable changing the theme for now
// as other themes are not compatible with dharma
return;
if (!theme) { if (!theme) {
theme = SettingsStore.getValue("theme"); theme = SettingsStore.getValue("theme");
} }