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

Use the hash of entry icons as keys for Glide caching #1262

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

alexbakker
Copy link
Member

This is mostly a cleanup of the way we do Glide in-memory caching. It also fixes a few minor issues along the way:

  • Entry icon cache keys were based on entry UUID's. This could cause problems when changing an entry's icon.
  • A TextDrawable could get replaced by the icon of a different entry when scrolling through the entry list quickly.

This is mostly a cleanup of the way we do Glide in-memory caching. It
also fixes a few minor issues along the way:

- Entry icon cache keys were based on entry UUID's. This could cause
  problems when changing an entry's icon.
- A TextDrawable could get replaced by the icon of a different entry
  when scrolling through the entry list quickly.
Copy link
Member

@michaelschattgen michaelschattgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LGTM.

@michaelschattgen michaelschattgen merged commit 224ec25 into beemdevelopment:master Feb 1, 2024
4 checks passed
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.

2 participants