Skip to content

fix(icon): remove icon dark color for blank value (#3188)#325

Merged
HFO4 merged 1 commit intocloudreve:masterfrom
YUDONGLING:fix-dark-mode-icon-color-20260117.3
Jan 23, 2026
Merged

fix(icon): remove icon dark color for blank value (#3188)#325
HFO4 merged 1 commit intocloudreve:masterfrom
YUDONGLING:fix-dark-mode-icon-color-20260117.3

Conversation

@YUDONGLING
Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes an issue where blank/empty values for the icon dark color field were being stored as empty strings instead of being removed from the configuration object.

Changes:

  • Modified the color_dark field's onColorChange handler to properly delete the property when the value is empty instead of setting it to an empty string

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@HFO4 HFO4 merged commit c0f3e50 into cloudreve:master Jan 23, 2026
6 of 7 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.

3 participants