mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
Remove usage of getBgService (#8217)
This commit is contained in:
@@ -237,8 +237,9 @@ function getBgService<T>(service: keyof MainBackground) {
|
||||
},
|
||||
{
|
||||
provide: LogServiceAbstraction,
|
||||
useFactory: getBgService<ConsoleLogService>("logService"),
|
||||
deps: [],
|
||||
useFactory: (platformUtilsService: PlatformUtilsService) =>
|
||||
new ConsoleLogService(platformUtilsService.isDev()),
|
||||
deps: [PlatformUtilsService],
|
||||
},
|
||||
{
|
||||
provide: BrowserEnvironmentService,
|
||||
|
||||
Reference in New Issue
Block a user