2020-10-27 01:10:18 +01:00
|
|
|
import { Component } from '@angular/core';
|
2021-01-01 22:38:26 +01:00
|
|
|
import { SettingsService } from './services/settings.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
|
|
|
|
2021-01-01 22:38:26 +01:00
|
|
|
constructor (private settings: SettingsService) {
|
|
|
|
|
let anyWindow = (window as any)
|
|
|
|
|
anyWindow.pdfWorkerSrc = '/assets/js/pdf.worker.min.js';
|
|
|
|
|
this.settings.updateDarkModeSettings()
|
2020-10-27 01:10:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|