fix dark theme was bright depending on OS settings

This commit is contained in:
Kevin Papst
2025-12-22 14:24:20 +01:00
parent 00d801616a
commit f0e2337d67

View File

@@ -62,7 +62,9 @@ final class ThemeOptionsSubscriber implements EventSubscriberInterface
$skin = $user->getSkin();
if ($skin === 'dark') {
$this->helper->setIsDarkMode(true);
$this->helper->setThemeAuto(false);
} elseif ($skin === 'auto') {
$this->helper->setIsDarkMode(false);
$this->helper->setThemeAuto(true);
} else {
$this->helper->setIsDarkMode(false);