Fixes #1291 (Windows Automatic Theme)

This commit is contained in:
Martin Beyer
2021-02-23 17:26:50 +01:00
parent c81f3bd972
commit c9b1b1baa5
2 changed files with 3 additions and 3 deletions
@@ -8,7 +8,7 @@ public enum UiTheme {
AUTOMATIC("preferences.general.theme.automatic");
public static UiTheme[] applicableValues() {
if (SystemUtils.IS_OS_MAC) {
if (SystemUtils.IS_OS_MAC || SystemUtils.IS_OS_WINDOWS) {
return values();
} else {
return new UiTheme[]{LIGHT, DARK};