mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
no need for firefox check on desktop. derp
This commit is contained in:
@@ -83,7 +83,7 @@ export class SettingsComponent implements OnInit {
|
|||||||
this.theme = await this.storageService.get<string>(ConstantsService.themeKey);
|
this.theme = await this.storageService.get<string>(ConstantsService.themeKey);
|
||||||
|
|
||||||
const disableGa = await this.storageService.get<boolean>(ConstantsService.disableGaKey);
|
const disableGa = await this.storageService.get<boolean>(ConstantsService.disableGaKey);
|
||||||
const disableGaByDefault = this.platformUtilsService.isFirefox() || this.platformUtilsService.isMacAppStore();
|
const disableGaByDefault = this.platformUtilsService.isMacAppStore();
|
||||||
this.disableGa = disableGa || (disableGa == null && disableGaByDefault);
|
this.disableGa = disableGa || (disableGa == null && disableGaByDefault);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user