From 7d7c5207d778f29b7786be3de6f7e691d5075800 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 10 Mar 2022 13:56:22 -0800 Subject: [PATCH] Fix changing theme incorrectly affects dark mode settings --- src-ui/src/app/components/manage/settings/settings.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-ui/src/app/components/manage/settings/settings.component.ts b/src-ui/src/app/components/manage/settings/settings.component.ts index 3fbaee894..dc785f2c1 100644 --- a/src-ui/src/app/components/manage/settings/settings.component.ts +++ b/src-ui/src/app/components/manage/settings/settings.component.ts @@ -108,7 +108,7 @@ export class SettingsComponent implements OnInit, OnDestroy, DirtyComponent { // "Live" visual changes prior to save 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) }) }) }