Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix icons with same name not changing when config changes #722

Merged
merged 4 commits into from
Sep 2, 2021

Conversation

gmaclennan
Copy link
Member

@gmaclennan gmaclennan commented Aug 27, 2021

Fixes #727

Category icons are cached by the device, so that even if the underlying resource changes, the displayed icon does not change. This PR adds a query parameter to the preset icon URLs that is updated when the user changes the config or when the user restarts the app. The query parameter ensure that the URL is not considered the same by the device caching.

@gmaclennan gmaclennan changed the title fix: don't cache icons between restarts of the app fix: don't cache icons when changing config Aug 28, 2021
@gmaclennan gmaclennan changed the title fix: don't cache icons when changing config fix: Fix icons with same name not changing when config changes Sep 2, 2021
@gmaclennan gmaclennan merged commit 533e913 into develop Sep 2, 2021
@gmaclennan gmaclennan deleted the fix/icon-caching branch September 2, 2021 11:12
@achou11 achou11 mentioned this pull request Sep 27, 2021
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.

bug: Category icons with the same id do not change on config update
2 participants