Skip to content

Commit 82460eb

Browse files
authored
fix: 下载页面标签显示未进行 shouldDisplayCategory 判断 (#5946)
1 parent 3e8a9bf commit 82460eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ protected ModDownloadPageSkin(DownloadPage control) {
225225
content.setSubtitle(getSkinnable().addon.getDescription());
226226
content.getSubtitleLabel().setWrapText(true);
227227
getSkinnable().addon.getCategories().stream()
228+
.filter(category -> getSkinnable().page.shouldDisplayCategory(category))
228229
.map(category -> getSkinnable().page.getLocalizedCategory(category))
229230
.forEach(content::addTag);
230231
content.getFirstLine().setMinWidth(0);

0 commit comments

Comments
 (0)