File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
electron/window/src/lib/concretes
web/webcam/data-access/src/lib/state+/camera Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11import { bootstrapDatabase } from '@ever-co/electron-database' ;
2+ import { AppWindowId } from '@ever-co/shared-utils' ;
23import { Event , shell } from 'electron' ;
34import { IWindowConfig } from '../shared/interfaces/window-config.interface' ;
45import { Window } from '../shared/models/window.model' ;
56import { WindowManager } from './window.manager' ;
6- import { AppWindowId } from '@ever-co/shared-utils' ;
7- import { isDevMode } from '@angular/core' ;
87
98export class AppWindow extends Window {
109 private readonly manager = WindowManager . getInstance ( ) ;
Original file line number Diff line number Diff line change 1- import { Injectable } from '@angular/core' ;
1+ import { inject , Injectable } from '@angular/core' ;
22import { LocalStorageService } from '@ever-co/shared-service' ;
33import { Actions , createEffect , ofType } from '@ngrx/effects' ;
44import { Action , Store } from '@ngrx/store' ;
@@ -22,6 +22,8 @@ import { AudioService } from '../../service/audio.service';
2222@Injectable ( )
2323export class CameraEffects {
2424 private readonly cameraKey = '_camera' ;
25+ private readonly actions$ = inject ( Actions ) ;
26+ private readonly store = inject ( Store ) ;
2527
2628 public loadCameras$ = createEffect ( ( ) =>
2729 this . actions$ . pipe (
@@ -255,8 +257,6 @@ export class CameraEffects {
255257 }
256258
257259 constructor (
258- private actions$ : Actions ,
259- private store : Store ,
260260 private readonly localStorageService : LocalStorageService ,
261261 private readonly cameraService : CameraService ,
262262 private readonly audioService : AudioService ,
You can’t perform that action at this time.
0 commit comments