1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

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
*/
_onSetTheme: function(theme) {
// disable changing the theme for now
// as other themes are not compatible with dharma
return;
if (!theme) {
theme = SettingsStore.getValue("theme");
}