diff --git a/jslib b/jslib index ca3b1c739c..1aa774b99f 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit ca3b1c739c6a7ef503845a1485cc76643276a259 +Subproject commit 1aa774b99f73123b0bcf2654e4ba59fe95f39563 diff --git a/src/background/main.background.ts b/src/background/main.background.ts index 36f68bc402..4b84e76bfb 100644 --- a/src/background/main.background.ts +++ b/src/background/main.background.ts @@ -43,7 +43,6 @@ import { TotpService as TotpServiceAbstraction, UserService as UserServiceAbstraction, } from 'jslib/abstractions'; -import { CryptoFunctionService as CryptoFunctionServiceAbstraction } from 'jslib/abstractions/cryptoFunction.service'; import { ExportService as ExportServiceAbstraction } from 'jslib/abstractions/export.service'; import { Analytics } from 'jslib/misc'; @@ -131,8 +130,8 @@ export default class MainBackground { this.settingsService = new SettingsService(this.userService, this.storageService); this.cipherService = new CipherService(this.cryptoService, this.userService, this.settingsService, this.apiService, this.storageService, this.i18nService, this.platformUtilsService); - this.folderService = new FolderService(this.cryptoService, this.userService, - () => this.i18nService.t('noneFolder'), this.apiService, this.storageService, this.i18nService); + this.folderService = new FolderService(this.cryptoService, this.userService, this.apiService, + this.storageService, this.i18nService, this.cipherService); this.collectionService = new CollectionService(this.cryptoService, this.userService, this.storageService, this.i18nService); this.lockService = new LockService(this.cipherService, this.folderService, this.collectionService,