1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00

default disable on FirefoxExtension

This commit is contained in:
Kyle Spearrin 2018-07-25 11:01:03 -04:00
parent 799361d933
commit 9df96a3288

View File

@ -42,7 +42,8 @@ export class Analytics {
}
this.appVersion = this.platformUtilsService.getApplicationVersion();
this.defaultDisabled = this.platformUtilsService.isFirefox() || this.platformUtilsService.isMacAppStore();
this.defaultDisabled = this.platformUtilsService.getDevice() === DeviceType.FirefoxExtension ||
this.platformUtilsService.isMacAppStore();
this.gaTrackingId = this.platformUtilsService.analyticsId();
(win as any).GoogleAnalyticsObject = GaObj;