Skip to content

fix: 下载页面标签显示未进行 shouldDisplayCategory 判断#5946

Merged
Glavo merged 1 commit intoHMCL-dev:mainfrom
CiiLu:cggggg
Apr 12, 2026
Merged

fix: 下载页面标签显示未进行 shouldDisplayCategory 判断#5946
Glavo merged 1 commit intoHMCL-dev:mainfrom
CiiLu:cggggg

Conversation

@CiiLu
Copy link
Copy Markdown
Contributor

@CiiLu CiiLu commented Apr 12, 2026

image 表现:Modrinth源所有资源包都有多余的 “Minecraft” 标签,且该标签在搜索页面也是不可见的

@Glavo
Copy link
Copy Markdown
Member

Glavo commented Apr 12, 2026

/gemini review

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a filtering step in the DownloadPage class to ensure only relevant categories are displayed for an addon. The feedback suggests refactoring the stream operation by extracting the getSkinnable() call into a local variable and using method references to enhance code readability and efficiency.

@Glavo Glavo merged commit 82460eb into HMCL-dev:main Apr 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants