diff --git a/jslib b/jslib index 6b4ed5fcce..e372bf242b 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 6b4ed5fcce58c21a9977d94ebb65f954d6766548 +Subproject commit e372bf242b24f55c1142e33693ad2c801ab74c93 diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index 75c7d7087a..074fdc47a3 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -75,7 +75,7 @@ export function initFactory( const urls = process.env.URLS as Urls; urls.base ??= window.location.origin; - environmentService.setUrls(urls, false); + environmentService.setUrls(urls); setTimeout(() => notificationsService.init(), 3000); diff --git a/src/app/settings/options.component.ts b/src/app/settings/options.component.ts index 6c38b4f69d..6f384d660e 100644 --- a/src/app/settings/options.component.ts +++ b/src/app/settings/options.component.ts @@ -19,7 +19,7 @@ export class OptionsComponent implements OnInit { disableIcons: boolean; enableGravatars: boolean; enableFullWidth: boolean; - theme: string = null; + theme: ThemeType = ThemeType.Light; locale: string; vaultTimeouts: { name: string; value: number }[]; localeOptions: any[]; @@ -28,7 +28,7 @@ export class OptionsComponent implements OnInit { vaultTimeout: FormControl = new FormControl(null); private startingLocale: string; - private startingTheme: string; + private startingTheme: ThemeType = ThemeType.Light; constructor( private stateService: StateService,