1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-16 16:23:41 +00:00

remove sync dependency

This commit is contained in:
Kyle Spearrin
2018-04-25 12:08:34 -04:00
parent ad6c3cb132
commit cafb7da93e
4 changed files with 8 additions and 9 deletions

2
jslib

Submodule jslib updated: 31bd1f9423...05e6d2c0f0

View File

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

View File

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

View File

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