From da5a04b3ba339ec0e8f8b29fecae635955c001b5 Mon Sep 17 00:00:00 2001 From: TomatoPuddin Date: Mon, 26 Jun 2023 17:43:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=20ModItem=20=E4=B8=AD?= =?UTF-8?q?=E6=B8=B2=E6=9F=93=20ModLoaderType=20=E7=9A=84=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=20(#2310)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 移除 ModItem 中多余的设置 VersionType 图标的代码 * 添加 ModItem 中缺失的 Quilt 标签 --- .../java/org/jackhuang/hmcl/ui/versions/DownloadPage.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadPage.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadPage.java index f6dca4575..e20b06a32 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadPage.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadPage.java @@ -413,17 +413,17 @@ public class DownloadPage extends Control implements DecoratorPage { for (ModLoaderType modLoaderType : dataItem.getLoaders()) { switch (modLoaderType) { case FORGE: - graphicPane.getChildren().setAll(SVG.releaseCircleOutline(Theme.blackFillBinding(), 24, 24)); content.getTags().add(i18n("install.installer.forge")); break; case FABRIC: - graphicPane.getChildren().setAll(SVG.releaseCircleOutline(Theme.blackFillBinding(), 24, 24)); content.getTags().add(i18n("install.installer.fabric")); break; case LITE_LOADER: - graphicPane.getChildren().setAll(SVG.releaseCircleOutline(Theme.blackFillBinding(), 24, 24)); content.getTags().add(i18n("install.installer.liteloader")); break; + case QUILT: + content.getTags().add(i18n("install.installer.quilt")); + break; } }