disable setting theme completely

pull/21833/head
Bruno Windels 2018-12-17 12:27:42 +01:00
parent ffec533c17
commit 649910139a
1 changed files with 4 additions and 0 deletions

View File

@ -1079,6 +1079,10 @@ 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");
}