react to jslib changes
This commit is contained in:
parent
417ee7a67f
commit
af8af663cf
|
@ -135,8 +135,7 @@ export default class MainBackground {
|
|||
this.collectionService = new CollectionService(this.cryptoService, this.userService, this.storageService,
|
||||
this.i18n2Service);
|
||||
this.lockService = new LockService(this.cipherService, this.folderService, this.collectionService,
|
||||
this.cryptoService, this.platformUtilsService, this.storageService,
|
||||
() => this.setIcon(), () => this.refreshBadgeAndMenu());
|
||||
this.cryptoService, this.platformUtilsService, this.storageService, this.messagingService);
|
||||
this.syncService = new SyncService(this.userService, this.apiService, this.settingsService,
|
||||
this.folderService, this.cipherService, this.cryptoService, this.collectionService,
|
||||
this.storageService, this.messagingService, (expired: boolean) => this.logout(expired));
|
||||
|
|
|
@ -165,6 +165,11 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
|||
return Promise.resolve(true);
|
||||
}
|
||||
|
||||
isDev(): boolean {
|
||||
// TODO?
|
||||
return true;
|
||||
}
|
||||
|
||||
private sidebarViewName(): string {
|
||||
if ((window as any).chrome.sidebarAction && this.isFirefox()) {
|
||||
return 'sidebar';
|
||||
|
|
Loading…
Reference in New Issue