1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-06 18:43:25 +00:00

Revert "Use global state for biometric prompt cancel storage (#8328)" (#8351)

This reverts commit 770f782a16.
This commit is contained in:
Matt Gibson
2024-03-15 10:28:34 -05:00
committed by GitHub
parent ac7d80980d
commit 8ee1965832
8 changed files with 14 additions and 141 deletions

View File

@@ -70,9 +70,6 @@ export class FakeAccountService implements AccountService {
}
async switchAccount(userId: UserId): Promise<void> {
const next =
userId == null ? null : { id: userId, ...this.accountsSubject["_buffer"]?.[0]?.[userId] };
this.activeAccountSubject.next(next);
await this.mock.switchAccount(userId);
}
}