import { Injectable } from '@angular/core';
import { Store, select } from '@ngrx/store';
import { MatDialog } from '@angular/material';
import { EventManager } from '@angular/platform-browser';
import { CookieService } from 'ngx-cookie-service';
import { TranslateService } from '@ngx-translate/core';

@Injectable()
export class AppService {
  constructor(
    private store: Store<any>,
    private eventManager: EventManager,
    private cookieService: CookieService,
    private tanslateService: TranslateService,
    // private matDialog: MatDialog,
    // private accountsService: AccountsService,
  ) { }

  initApp(): Promise<any> {
    // return new Promise((resolve, reject) => {
    //   const browserLang = this.tanslateService.getBrowserCultureLang();

    // });
    return null;
  }
}
