fix: open color scheme tab matching current colorSchemeMode setting

This commit is contained in:
bluekani
2026-07-11 13:42:57 +02:00
committed by Eugene
parent 9f5cdc5f68
commit 256743baea
@@ -12,6 +12,11 @@ export class ColorSchemeSettingsTabComponent {
platform: PlatformService,
public config: ConfigService,
) {
this.defaultTab = platform.getTheme()
const mode = this.config.store.appearance.colorSchemeMode
if (mode === 'dark' || mode === 'light') {
this.defaultTab = mode
} else {
this.defaultTab = platform.getTheme()
}
}
}