diff --git a/src/app/features/settings/settings.component.ts b/src/app/features/settings/settings.component.ts index b9c5f30..07e55e1 100644 --- a/src/app/features/settings/settings.component.ts +++ b/src/app/features/settings/settings.component.ts @@ -52,6 +52,10 @@ export class SettingsComponent { developerMode: new FormControl(settings.developerMode) }); + this.formGroup.valueChanges.subscribe((settings) => { + this.settingsService.save(settings); + }); + this.formGroup.get('developerMode')?.valueChanges.subscribe(() => { this.clipboardService.rerunGetClipboardItem(); });