mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-06-16 13:34:04 +08:00
15f60e8ce2
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