Files
cc-switch/src/components
T
Jason 15f60e8ce2 fix(ui): improve ProviderIcon color validation to prevent black icons
Enhance the effectiveColor logic in ProviderIcon to properly validate
the color prop before using it. Now only uses color when it's a valid
non-empty string, otherwise falls back to icon metadata defaultColor.

This fixes the issue where Gemini icons would turn black when selected
in ProviderCard due to null/undefined/empty string color values being
passed through.
15f60e8ce2 ยท 2026-01-23 00:02:11 +08:00
History
..
2025-11-22 19:18:35 +08:00
2025-11-22 19:18:35 +08:00