mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
move toaster and analytics to platform utils
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
import { ToasterService } from 'angular2-toaster';
|
||||
import { Angulartics2 } from 'angulartics2';
|
||||
|
||||
import { ApiService } from 'jslib/abstractions/api.service';
|
||||
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||
@@ -15,9 +12,8 @@ import { PremiumComponent as BasePremiumComponent } from 'jslib/angular/componen
|
||||
templateUrl: 'premium.component.html',
|
||||
})
|
||||
export class PremiumComponent extends BasePremiumComponent {
|
||||
constructor(analytics: Angulartics2, toasterService: ToasterService,
|
||||
i18nService: I18nService, platformUtilsService: PlatformUtilsService,
|
||||
constructor(i18nService: I18nService, platformUtilsService: PlatformUtilsService,
|
||||
tokenService: TokenService, apiService: ApiService) {
|
||||
super(analytics, toasterService, i18nService, platformUtilsService, tokenService, apiService);
|
||||
super(i18nService, platformUtilsService, tokenService, apiService);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user