mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Fix changing theme incorrectly affects dark mode settings
This commit is contained in:
		@@ -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)
 | 
			
		||||
      })
 | 
			
		||||
    })
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user