mirror of https://github.com/vector-im/riot-web
unbreak tests
parent
26e8b2c1b3
commit
59b2189909
|
@ -187,7 +187,7 @@ export default {
|
|||
syncedSettings = this.getSyncedSettings();
|
||||
}
|
||||
if (!syncedSettings || !syncedSettings.theme) {
|
||||
theme = SdkConfig.get().default_theme || 'light';
|
||||
theme = (SdkConfig.get() ? SdkConfig.get().default_theme : undefined) || 'light';
|
||||
}
|
||||
else {
|
||||
theme = syncedSettings.theme;
|
||||
|
|
Loading…
Reference in New Issue