mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-26 17:08:33 +01:00
disablebybydefault on ff and mas
This commit is contained in:
parent
cf80b871bc
commit
0a54bd7ba6
@ -49,8 +49,11 @@ export class SettingsComponent implements OnInit {
|
||||
|
||||
async ngOnInit() {
|
||||
this.lockOption = await this.storageService.get<number>(ConstantsService.lockOptionKey);
|
||||
this.disableGa = await this.storageService.get<boolean>(ConstantsService.disableGaKey);
|
||||
this.disableFavicons = await this.storageService.get<boolean>(ConstantsService.disableFaviconKey);
|
||||
|
||||
const disableGa = await this.storageService.get<boolean>(ConstantsService.disableGaKey);
|
||||
const disableGaByDefault = this.platformUtilsService.isFirefox() || this.platformUtilsService.isMacAppStore();
|
||||
this.disableGa = disableGa || (disableGa == null && disableGaByDefault);
|
||||
}
|
||||
|
||||
async saveLockOption() {
|
||||
|
Loading…
Reference in New Issue
Block a user