Skip to content

Commit befa9dd

Browse files
committed
fix: lint errors
1 parent fff3029 commit befa9dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/main/java/io/snyk/eclipse/plugin/html/BaseHtmlProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public String getColorAsHex(String colorKey, String defaultColor) {
150150

151151
public Boolean isDarkTheme() {
152152
var darkColor = getColorAsHex("org.eclipse.ui.workbench.DARK_BACKGROUND", "");
153-
return darkColor.equals("true");
153+
return Boolean.valueOf(darkColor);
154154
}
155155

156156
private ColorRegistry colorRegistry;

0 commit comments

Comments
 (0)