forked from I2P_Developers/i2p.i2p
Snark: explicitly check if universal theme is "classic", and use "light" if so
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user