1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-17 16:53:20 +00:00

[bug] Properly define stored window state (#638)

This commit is contained in:
Addison Beck
2022-01-27 10:44:09 -05:00
committed by GitHub
parent 0186610ca4
commit 83305313f9
5 changed files with 25 additions and 18 deletions

View File

@@ -1,5 +1,6 @@
import { StateVersion } from "../../enums/stateVersion";
import { EnvironmentUrls } from "./environmentUrls";
import { WindowState } from "./windowState";
export class GlobalState {
enableAlwaysOnTop?: boolean;
@@ -11,7 +12,7 @@ export class GlobalState {
ssoState?: string;
rememberedEmail?: string;
theme?: string = "light";
window?: Map<string, any> = new Map<string, any>();
window?: WindowState = new WindowState();
twoFactorToken?: string;
disableFavicon?: boolean;
biometricAwaitingAcceptance?: boolean;