1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-30 23:23:52 +00:00

[bug] Update theme.js to refelect new storage structure (#1416)

* [bug] Update theme.js to refelect new storage structure

* [bug] Remove unecassary defaults
This commit is contained in:
Addison Beck
2022-01-28 11:30:45 -05:00
committed by GitHub
parent 6996b06fa2
commit ce1ae208d1
2 changed files with 8 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ export class OptionsComponent implements OnInit {
disableIcons: boolean;
enableGravatars: boolean;
enableFullWidth: boolean;
theme: ThemeType = ThemeType.Light;
theme: ThemeType;
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: ThemeType = ThemeType.Light;
private startingTheme: ThemeType;
constructor(
private stateService: StateService,