forked from mystiq/hydrogen-web
Use default theme intially
This commit is contained in:
parent
f6cec938a7
commit
cb03e97e78
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ export class ThemeLoader {
|
||||||
}
|
}
|
||||||
|
|
||||||
async getActiveTheme(): Promise<string> {
|
async getActiveTheme(): Promise<string> {
|
||||||
const theme = await this._platform.settingsStorage.getString("theme") ?? this.getDefaultTheme();
|
const theme = await this._platform.settingsStorage.getString("theme") ?? "default";
|
||||||
if (theme) {
|
if (theme) {
|
||||||
return theme;
|
return theme;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue