You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-19 20:23:18 +03:00
Pull the theme through the default process
This is to ensure the `config` level is respected. Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
@ -891,7 +891,7 @@ module.exports = React.createClass({
|
|||||||
*/
|
*/
|
||||||
_onSetTheme: function(theme) {
|
_onSetTheme: function(theme) {
|
||||||
if (!theme) {
|
if (!theme) {
|
||||||
theme = SettingsStore.getValueAt(SettingLevel.DEFAULT, "theme");
|
theme = SettingsStore.getValue("theme");
|
||||||
}
|
}
|
||||||
|
|
||||||
// look for the stylesheet elements.
|
// look for the stylesheet elements.
|
||||||
|
Reference in New Issue
Block a user