mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
Fix changing theme incorrectly affects dark mode settings
This commit is contained in:
parent
a591614a39
commit
7d7c5207d7
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ export class SettingsComponent implements OnInit, OnDestroy, DirtyComponent {
|
||||||
|
|
||||||
// "Live" visual changes prior to save
|
// "Live" visual changes prior to save
|
||||||
this.settingsForm.valueChanges.subscribe(() => {
|
this.settingsForm.valueChanges.subscribe(() => {
|
||||||
this.settings.updateAppearanceSettings(this.settingsForm.get('darkModeEnabled').value, this.settingsForm.get('darkModeEnabled').value, this.settingsForm.get('themeColor').value)
|
this.settings.updateAppearanceSettings(this.settingsForm.get('darkModeUseSystem').value, this.settingsForm.get('darkModeEnabled').value, this.settingsForm.get('themeColor').value)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue