I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 58a545d3 authored by str4d's avatar str4d
Browse files

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

parent dfb0b780
No related branches found
No related tags found
No related merge requests found
...@@ -314,7 +314,11 @@ public class SnarkManager implements Snark.CompleteListener { ...@@ -314,7 +314,11 @@ public class SnarkManager implements Snark.CompleteListener {
themeExists = true; themeExists = true;
} }
if (!themeExists) { 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); _config.setProperty(PROP_THEME, DEFAULT_THEME);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment