mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-21 16:18:28 +01:00
Remove usage of getBgService
(#8217)
This commit is contained in:
parent
f83dcf2b24
commit
2d49a79854
@ -237,8 +237,9 @@ function getBgService<T>(service: keyof MainBackground) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
provide: LogServiceAbstraction,
|
provide: LogServiceAbstraction,
|
||||||
useFactory: getBgService<ConsoleLogService>("logService"),
|
useFactory: (platformUtilsService: PlatformUtilsService) =>
|
||||||
deps: [],
|
new ConsoleLogService(platformUtilsService.isDev()),
|
||||||
|
deps: [PlatformUtilsService],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
provide: BrowserEnvironmentService,
|
provide: BrowserEnvironmentService,
|
||||||
|
Loading…
Reference in New Issue
Block a user