ok got it to default to amoled, now just make it not fall back if u select another theme

This commit is contained in:
Samidy 2025-12-08 20:00:27 +03:00
parent 18a12cec17
commit dc9cb94e88

View file

@ -99,6 +99,11 @@ export class ThemeHandler {
if (mode === 'dark') { if (mode === 'dark') {
root.classList.add('dark') root.classList.add('dark')
} }
// Remove amoled class if current mode is not 'dark'
if (mode !== 'dark') {
root.classList.remove('amoled')
}
} }
private applyCSSVariables(colors: ModeColors, theme: Theme) { private applyCSSVariables(colors: ModeColors, theme: Theme) {