add missing arg to browser crypto (#8068)

This commit is contained in:
Jake Fink 2024-02-23 10:19:15 -05:00 committed by GitHub
parent 9775e77079
commit fa43d8c55e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -262,6 +262,7 @@ function getBgService<T>(service: keyof MainBackground) {
{
provide: CryptoService,
useFactory: (
keyGenerationService: KeyGenerationService,
cryptoFunctionService: CryptoFunctionService,
encryptService: EncryptService,
platformUtilsService: PlatformUtilsService,
@ -271,6 +272,7 @@ function getBgService<T>(service: keyof MainBackground) {
stateProvider: StateProvider,
) => {
const cryptoService = new BrowserCryptoService(
keyGenerationService,
cryptoFunctionService,
encryptService,
platformUtilsService,