PreferenceForm: Always enable mode selection if user theme is compatible

fixes #4744
This commit is contained in:
Johannes Meyer 2022-04-07 10:59:50 +02:00
parent a621229240
commit dcb83d9ab5
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ class PreferenceForm extends Form
} }
} }
if (isset($formData['theme']) && $formData['theme'] !== StyleSheet::DEFAULT_THEME) { if (isset($formData['theme'])) {
$themeFile = StyleSheet::getThemeFile($formData['theme']); $themeFile = StyleSheet::getThemeFile($formData['theme']);
} }