Remove usage of `getBgService` from browser services (#8234)
This commit is contained in:
parent
bdaa95bd7f
commit
0f9acf50f7
|
@ -220,10 +220,6 @@ function getBgService<T>(service: keyof MainBackground) {
|
||||||
useFactory: () => new WebCryptoFunctionService(window),
|
useFactory: () => new WebCryptoFunctionService(window),
|
||||||
deps: [],
|
deps: [],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
provide: FileUploadService,
|
|
||||||
useFactory: getBgService<FileUploadService>("fileUploadService"),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
provide: InternalFolderService,
|
provide: InternalFolderService,
|
||||||
useExisting: FolderServiceAbstraction,
|
useExisting: FolderServiceAbstraction,
|
||||||
|
|
Loading…
Reference in New Issue