mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-16 08:14:01 +00:00
remove sync dependency
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 31bd1f9423...05e6d2c0f0
@@ -27,9 +27,8 @@ export class LoginComponent extends BaseLoginComponent {
|
|||||||
|
|
||||||
constructor(authService: AuthService, router: Router,
|
constructor(authService: AuthService, router: Router,
|
||||||
analytics: Angulartics2, toasterService: ToasterService,
|
analytics: Angulartics2, toasterService: ToasterService,
|
||||||
i18nService: I18nService, syncService: SyncService,
|
i18nService: I18nService, private componentFactoryResolver: ComponentFactoryResolver) {
|
||||||
private componentFactoryResolver: ComponentFactoryResolver) {
|
super(authService, router, analytics, toasterService, i18nService);
|
||||||
super(authService, router, analytics, toasterService, i18nService, syncService);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
settings() {
|
settings() {
|
||||||
|
|||||||
@@ -34,10 +34,10 @@ export class TwoFactorComponent extends BaseTwoFactorComponent {
|
|||||||
constructor(authService: AuthService, router: Router,
|
constructor(authService: AuthService, router: Router,
|
||||||
analytics: Angulartics2, toasterService: ToasterService,
|
analytics: Angulartics2, toasterService: ToasterService,
|
||||||
i18nService: I18nService, apiService: ApiService,
|
i18nService: I18nService, apiService: ApiService,
|
||||||
platformUtilsService: PlatformUtilsService, syncService: SyncService,
|
platformUtilsService: PlatformUtilsService, environmentService: EnvironmentService,
|
||||||
environmentService: EnvironmentService, private componentFactoryResolver: ComponentFactoryResolver) {
|
private componentFactoryResolver: ComponentFactoryResolver) {
|
||||||
super(authService, router, analytics, toasterService, i18nService, apiService,
|
super(authService, router, analytics, toasterService, i18nService, apiService,
|
||||||
platformUtilsService, syncService, window, environmentService);
|
platformUtilsService, window, environmentService);
|
||||||
}
|
}
|
||||||
|
|
||||||
anotherMethod() {
|
anotherMethod() {
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ import { app, BrowserWindow } from 'electron';
|
|||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
|
|
||||||
// import { ElectronMainMessagingService } from 'jslib/electron/services/desktopMainMessaging.service';
|
// import { ElectronMainMessagingService } from 'jslib/electron/services/desktopMainMessaging.service';
|
||||||
import { I18nService } from 'jslib/services/i18n.service';
|
|
||||||
|
|
||||||
import { MessagingMain } from './main/messaging.main';
|
import { MessagingMain } from './main/messaging.main';
|
||||||
|
import { I18nService } from './services/i18n.service';
|
||||||
|
|
||||||
import { ElectronLogService } from 'jslib/electron/services/electronLog.service';
|
import { ElectronLogService } from 'jslib/electron/services/electronLog.service';
|
||||||
import { ElectronStorageService } from 'jslib/electron/services/electronStorage.service';
|
import { ElectronStorageService } from 'jslib/electron/services/electronStorage.service';
|
||||||
@@ -43,7 +43,7 @@ export class Main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.logService = new ElectronLogService(null, app.getPath('userData'));
|
this.logService = new ElectronLogService(null, app.getPath('userData'));
|
||||||
// this.i18nService = new I18nService('en', './locales/');
|
this.i18nService = new I18nService('en', './locales/');
|
||||||
this.storageService = new ElectronStorageService();
|
this.storageService = new ElectronStorageService();
|
||||||
// this.messagingService = new DesktopMainMessagingService(this);
|
// this.messagingService = new DesktopMainMessagingService(this);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user