1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00:00

[PM-5956] Delete Unused State (#8439)

* Delete Unused State

* Delete One More

* Add Migration to Delete InstalledVersion

* Update Error
This commit is contained in:
Justin Baur
2024-04-01 14:36:39 -05:00
committed by GitHub
parent bd7c10705d
commit 94843bdd8b
9 changed files with 58 additions and 97 deletions

View File

@@ -713,12 +713,6 @@ export class Main {
this.containerService.attachToGlobal(global);
await this.i18nService.init();
this.twoFactorService.init();
const installedVersion = await this.stateService.getInstalledVersion();
const currentVersion = await this.platformUtilsService.getApplicationVersion();
if (installedVersion == null || installedVersion !== currentVersion) {
await this.stateService.setInstalledVersion(currentVersion);
}
}
}