mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-02 07:31:38 +01:00
Use default theme intially
This commit is contained in:
parent
f6cec938a7
commit
cb03e97e78
@ -87,7 +87,7 @@ export class ThemeLoader {
|
||||
}
|
||||
|
||||
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) {
|
||||
return theme;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user