mirror of https://github.com/vector-im/riot-web
disable setting theme completely
parent
ffec533c17
commit
649910139a
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue