1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

Undo broadcast service refs (not needed)

This commit is contained in:
Chad Scharf 2020-11-02 17:08:39 -05:00
parent d8d1ee3022
commit 5ff545e541
4 changed files with 5 additions and 14 deletions

2
jslib

@ -1 +1 @@
Subproject commit 4258077179afa09f57712d2c9d05a9dff0b2f583
Subproject commit 0e9e73ce95a321ee05edbb62c50f9e1828f69c5a

View File

@ -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() {

View File

@ -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);
}
}

View File

@ -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);