Skip to content

Load icons from any compatible version instead of the exact one - #435

Open
MelanX wants to merge 1 commit into
sebinside:mainfrom
MelanX:fix/cross-version-icon-loading
Open

MelanX wants to merge 1 commit into
sebinside:mainfrom
MelanX:fix/cross-version-icon-loading

Conversation

@MelanX

@MelanX MelanX commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Loading icons created with version 3.1.0 fail to load. Just changing the url to use latest as version fixes the issue. Otherwise, Pro icons would load with Free font and that is garbage:
grafik

This PR fixes this by checking for just the major version of StreamAwesome, and we're trying to keep compatibility with the major version by trying to get newly introduced fields as optional with a fallback for those icons that are too old. I chose 0.5 as default because that's what everywhere else was used for duotonealpha.

This branch has not been deployed

No deployments
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.

1 participant