Snark: explicitly check if universal theme is "classic", and use "light" if so

This commit is contained in:
str4d
2012-08-07 23:08:37 +00:00
parent dfb0b7801d
commit 58a545d30c

View File

@ -314,7 +314,11 @@ public class SnarkManager implements Snark.CompleteListener {
themeExists = true;
}
if (!themeExists) {
theme = DEFAULT_THEME;
// Since the default is not "light", explicitly check if universal theme is "classic"
if (theme.equals("classic")
theme = "light";
else
theme = DEFAULT_THEME;
_config.setProperty(PROP_THEME, DEFAULT_THEME);
}
}