1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

remove analytics in favor of platform utils

This commit is contained in:
Kyle Spearrin
2018-10-03 00:21:22 -04:00
parent 89a448b12f
commit adb3dc78ee
19 changed files with 50 additions and 86 deletions

View File

@@ -4,8 +4,6 @@ import {
} from '@angular/core';
import { Router } from '@angular/router';
import { Angulartics2 } from 'angulartics2';
import { CryptoService } from 'jslib/abstractions/crypto.service';
import { I18nService } from 'jslib/abstractions/i18n.service';
import { MessagingService } from 'jslib/abstractions/messaging.service';
@@ -19,11 +17,10 @@ import { LockComponent as BaseLockComponent } from 'jslib/angular/components/loc
templateUrl: 'lock.component.html',
})
export class LockComponent extends BaseLockComponent implements OnInit {
constructor(router: Router, analytics: Angulartics2,
i18nService: I18nService,
constructor(router: Router, i18nService: I18nService,
platformUtilsService: PlatformUtilsService, messagingService: MessagingService,
userService: UserService, cryptoService: CryptoService) {
super(router, analytics, i18nService, platformUtilsService, messagingService, userService, cryptoService);
super(router, i18nService, platformUtilsService, messagingService, userService, cryptoService);
this.successRoute = '/tabs/current';
}