mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-11 07:06:31 +02:00
disable setting theme completely
This commit is contained in:
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…
x
Reference in New Issue
Block a user