Skip to content

Commit 5cc9667

Browse files
fix for non code files group visibility in dark theme (#267)
1 parent 1aee5ea commit 5cc9667

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

org.abapgit.adt.ui/src/org/abapgit/adt/ui/internal/staging/AbapGitStagingLabelProvider.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@
2121
import org.eclipse.swt.custom.StyleRange;
2222
import org.eclipse.swt.graphics.Image;
2323
import org.eclipse.swt.graphics.TextStyle;
24-
import org.eclipse.swt.widgets.Display;
2524
import org.eclipse.ui.ISharedImages;
2625
import org.eclipse.ui.PlatformUI;
27-
import org.eclipse.ui.forms.IFormColors;
28-
import org.eclipse.ui.forms.widgets.FormToolkit;
2926
import org.eclipse.ui.internal.util.BundleUtility;
3027
import org.osgi.framework.Bundle;
3128

@@ -157,7 +154,6 @@ private Image decorateImage(Image baseImage, String overlayImagePath) {
157154

158155
public static final class CustomStyler extends ColorStyler {
159156
public void applyStyles(TextStyle textStyle) {
160-
textStyle.foreground = new FormToolkit(Display.getDefault()).getColors().getColor(IFormColors.TB_TOGGLE);
161157
if (textStyle instanceof StyleRange) {
162158
((StyleRange) textStyle).fontStyle = SWT.ITALIC;
163159
}

0 commit comments

Comments
 (0)