diff --git a/jslib b/jslib index 4258077179..0e9e73ce95 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 4258077179afa09f57712d2c9d05a9dff0b2f583 +Subproject commit 0e9e73ce95a321ee05edbb62c50f9e1828f69c5a diff --git a/src/app/vault/add-edit.component.ts b/src/app/vault/add-edit.component.ts index 937dfbfdaa..ed0d529d84 100644 --- a/src/app/vault/add-edit.component.ts +++ b/src/app/vault/add-edit.component.ts @@ -16,8 +16,6 @@ import { UserService } from 'jslib/abstractions/user.service'; import { AddEditComponent as BaseAddEditComponent } from 'jslib/angular/components/add-edit.component'; -import { BroadcasterService } from 'jslib/angular/services/broadcaster.service'; - @Component({ selector: 'app-vault-add-edit', templateUrl: 'add-edit.component.html', @@ -27,10 +25,9 @@ export class AddEditComponent extends BaseAddEditComponent implements OnChanges i18nService: I18nService, platformUtilsService: PlatformUtilsService, auditService: AuditService, stateService: StateService, userService: UserService, collectionService: CollectionService, - messagingService: MessagingService, eventService: EventService, - broadcasterService: BroadcasterService) { + messagingService: MessagingService, eventService: EventService) { super(cipherService, folderService, i18nService, platformUtilsService, auditService, stateService, - userService, collectionService, messagingService, eventService, broadcasterService); + userService, collectionService, messagingService, eventService); } async ngOnInit() { diff --git a/src/app/vault/export.component.ts b/src/app/vault/export.component.ts index 1fb5d0c70a..eac41c806e 100644 --- a/src/app/vault/export.component.ts +++ b/src/app/vault/export.component.ts @@ -8,8 +8,6 @@ import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service'; import { ExportComponent as BaseExportComponent } from 'jslib/angular/components/export.component'; -import { BroadcasterService } from 'jslib/angular/services/broadcaster.service'; - @Component({ selector: 'app-export', templateUrl: 'export.component.html', @@ -17,8 +15,7 @@ import { BroadcasterService } from 'jslib/angular/services/broadcaster.service'; export class ExportComponent extends BaseExportComponent { constructor(cryptoService: CryptoService, i18nService: I18nService, platformUtilsService: PlatformUtilsService, exportService: ExportService, - eventService: EventService, broadcasterService: BroadcasterService) { - super(cryptoService, i18nService, platformUtilsService, exportService, eventService, window, - broadcasterService); + eventService: EventService) { + super(cryptoService, i18nService, platformUtilsService, exportService, eventService, window); } } diff --git a/src/main.ts b/src/main.ts index 49317e077f..e582c4cffc 100644 --- a/src/main.ts +++ b/src/main.ts @@ -149,9 +149,6 @@ export class Main { event.preventDefault(); this.processDeepLink([url]); }); - - // Handle visibility event(s) - this.windowMain.win.on('hide', () => this.messagingService.send('hideMain')); }, (e: any) => { // tslint:disable-next-line console.error(e);