mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
* Create background in popup if private mode, remove gates * Add messaging support to runtime in private mode * Fix messaging services and general bootstrap logic * Add private mode warning, remove old component * Deprecate launchGuardService * Require in memory account for user to be considered authenticated * Don't change icon for private mode windows * Set all icons from background page
17 lines
464 B
TypeScript
17 lines
464 B
TypeScript
import { Component, OnInit } from "@angular/core";
|
|
import { PopupUtilsService } from "../services/popup-utils.service";
|
|
|
|
@Component({
|
|
selector: "app-private-mode-warning",
|
|
templateUrl: "private-mode-warning.component.html",
|
|
})
|
|
export class PrivateModeWarningComponent implements OnInit {
|
|
showWarning = false;
|
|
|
|
constructor(private popupUtilsService: PopupUtilsService) {}
|
|
|
|
ngOnInit() {
|
|
this.showWarning = this.popupUtilsService.inPrivateMode();
|
|
}
|
|
}
|