Use default theme intially

This commit is contained in:
RMidhunSuresh 2022-05-27 16:31:23 +05:30
parent f6cec938a7
commit cb03e97e78

View file

@ -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;
}