We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
shouldDisplayCategory
1 parent 3e8a9bf commit 82460ebCopy full SHA for 82460eb
HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadPage.java
@@ -225,6 +225,7 @@ protected ModDownloadPageSkin(DownloadPage control) {
225
content.setSubtitle(getSkinnable().addon.getDescription());
226
content.getSubtitleLabel().setWrapText(true);
227
getSkinnable().addon.getCategories().stream()
228
+ .filter(category -> getSkinnable().page.shouldDisplayCategory(category))
229
.map(category -> getSkinnable().page.getLocalizedCategory(category))
230
.forEach(content::addTag);
231
content.getFirstLine().setMinWidth(0);
0 commit comments