Skip to content

Commit cb3fc84

Browse files
committed
update
1 parent 254fa86 commit cb3fc84

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ModUpdatesPage.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
import javafx.scene.layout.*;
3131
import javafx.scene.text.Text;
3232
import org.jackhuang.hmcl.mod.*;
33-
import org.jackhuang.hmcl.setting.Theme;
3433
import org.jackhuang.hmcl.task.FileDownloadTask;
3534
import org.jackhuang.hmcl.task.Schedulers;
3635
import org.jackhuang.hmcl.task.Task;
36+
import org.jackhuang.hmcl.theme.Theme;
3737
import org.jackhuang.hmcl.ui.Controllers;
3838
import org.jackhuang.hmcl.ui.FXUtils;
3939
import org.jackhuang.hmcl.ui.SVG;
@@ -307,15 +307,15 @@ private static final class ModItem extends StackPane {
307307
switch (targetVersion.getVersionType()) {
308308
case Alpha:
309309
content.addTag(i18n("mods.channel.alpha"));
310-
graphicPane.getChildren().setAll(SVG.ALPHA_CIRCLE.createIcon(Theme.blackFill(), 24));
310+
graphicPane.getChildren().setAll(SVG.ALPHA_CIRCLE.createIcon(24));
311311
break;
312312
case Beta:
313313
content.addTag(i18n("mods.channel.beta"));
314-
graphicPane.getChildren().setAll(SVG.BETA_CIRCLE.createIcon(Theme.blackFill(), 24));
314+
graphicPane.getChildren().setAll(SVG.BETA_CIRCLE.createIcon(24));
315315
break;
316316
case Release:
317317
content.addTag(i18n("mods.channel.release"));
318-
graphicPane.getChildren().setAll(SVG.RELEASE_CIRCLE.createIcon(Theme.blackFill(), 24));
318+
graphicPane.getChildren().setAll(SVG.RELEASE_CIRCLE.createIcon(24));
319319
break;
320320
}
321321

0 commit comments

Comments
 (0)