18 lines
420 B
TypeScript
18 lines
420 B
TypeScript
import { Component } from '@angular/core';
|
|
import { AppViewService } from './services/app-view.service';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
templateUrl: './app.component.html',
|
|
styleUrls: ['./app.component.scss']
|
|
})
|
|
export class AppComponent {
|
|
|
|
constructor (appViewService: AppViewService) {
|
|
appViewService.updateDarkModeSettings()
|
|
(window as any).pdfWorkerSrc = '/assets/js/pdf.worker.min.js';
|
|
}
|
|
|
|
|
|
}
|