Skip to content

Conversation

@jcamor3s
Copy link

@jcamor3s jcamor3s commented Aug 5, 2025

Added support for SVG token icons alongside existing PNG support.

Changes

  • Updated regex pattern in fetchLocalTokenIcons from /^(.+).png$/ to /^(.+).(png|svg)$/
  • Modified file extension handling to dynamically use detected extension in logoURI construction
  • Maintains backward compatibility with existing PNG icons

@jcamor3s jcamor3s requested review from andreiashu and schystz August 5, 2025 04:17
@schystz schystz merged commit e7c33e0 into main Aug 5, 2025
1 check passed
@jcamor3s jcamor3s deleted the feat/generate-svg-support branch August 5, 2025 05:32
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