mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Not sure why Typescript complained about this
This commit is contained in:
parent
3d2d9cb3a2
commit
1234634ba3
@ -9,8 +9,8 @@ import { AppViewService } from './services/app-view.service';
|
||||
export class AppComponent {
|
||||
|
||||
constructor (appViewService: AppViewService) {
|
||||
appViewService.updateDarkModeSettings()
|
||||
(window as any).pdfWorkerSrc = '/assets/js/pdf.worker.min.js';
|
||||
appViewService.updateDarkModeSettings()
|
||||
}
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@ export class AppViewService {
|
||||
this.updateDarkModeSettings()
|
||||
}
|
||||
|
||||
updateDarkModeSettings() {
|
||||
updateDarkModeSettings(): void {
|
||||
let darkModeUseSystem = this.settings.get(SETTINGS_KEYS.DARK_MODE_USE_SYSTEM)
|
||||
let darkModeEnabled = this.settings.get(SETTINGS_KEYS.DARK_MODE_ENABLED)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user