mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-24 21:41:33 +01:00
Convert refactoring todo-rr-bw to standard todos.
This commit is contained in:
parent
f42a391b6f
commit
2d5f4dfb70
@ -16,7 +16,7 @@ export class DefaultLoginComponentService implements LoginComponentService {
|
||||
constructor(
|
||||
protected cryptoFunctionService: CryptoFunctionService,
|
||||
protected environmentService: EnvironmentService,
|
||||
// TODO-rr-bw: refactor to not use deprecated service
|
||||
// TODO: refactor to not use deprecated service
|
||||
protected passwordGenerationService: PasswordGenerationServiceAbstraction,
|
||||
protected platformUtilsService: PlatformUtilsService,
|
||||
protected ssoLoginService: SsoLoginServiceAbstraction,
|
||||
|
@ -161,7 +161,7 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
|
||||
ngOnDestroy(): void {
|
||||
if (this.clientType === ClientType.Desktop) {
|
||||
// TODO-rr-bw: refactor to not use deprecated broadcaster service.
|
||||
// TODO: refactor to not use deprecated broadcaster service.
|
||||
this.broadcasterService.unsubscribe(BroadcasterSubscriptionId);
|
||||
}
|
||||
|
||||
@ -534,7 +534,7 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
private async desktopOnInit(): Promise<void> {
|
||||
await this.getLoginWithDevice(this.loggedEmail);
|
||||
|
||||
// TODO-rr-bw: refactor to not use deprecated broadcaster service.
|
||||
// TODO: refactor to not use deprecated broadcaster service.
|
||||
this.broadcasterService.subscribe(BroadcasterSubscriptionId, async (message: any) => {
|
||||
this.ngZone.run(() => {
|
||||
switch (message.command) {
|
||||
|
Loading…
Reference in New Issue
Block a user