2020-10-27 01:10:18 +01:00
|
|
|
import { Component } from '@angular/core';
|
2020-12-27 23:05:19 -08:00
|
|
|
import { AppViewService } from './services/app-view.service';
|
2020-10-27 01:10:18 +01:00
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'app-root',
|
|
|
|
|
templateUrl: './app.component.html',
|
2020-11-22 14:43:59 +01:00
|
|
|
styleUrls: ['./app.component.scss']
|
2020-10-27 01:10:18 +01:00
|
|
|
})
|
|
|
|
|
export class AppComponent {
|
2020-12-31 15:07:35 +01:00
|
|
|
|
2020-12-27 23:05:19 -08:00
|
|
|
constructor (appViewService: AppViewService) {
|
2020-12-31 15:07:35 +01:00
|
|
|
(window as any).pdfWorkerSrc = '/assets/js/pdf.worker.min.js';
|
2021-01-01 12:49:48 -08:00
|
|
|
appViewService.updateDarkModeSettings()
|
2020-10-27 01:10:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|