Skip to content

Fix favourites persistence#290

Open
memohnsen wants to merge 1 commit into
RustCastLabs:masterfrom
memohnsen:fix-persistent-favs
Open

Fix favourites persistence#290
memohnsen wants to merge 1 commit into
RustCastLabs:masterfrom
memohnsen:fix-persistent-favs

Conversation

@memohnsen

@memohnsen memohnsen commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Resolves issue #289

get_rankings was only getting items with a value above 0, all favs are stored as a -1. So when rustcast was quit and reopen the favs were not reloaded into the app and therefore not persisted to the user.

This small fix just changes > 0 to != 0 and fixes a test allowing favs to persist to the user

Screen.Recording.2026-07-05.at.16.32.07.mov

@memohnsen memohnsen changed the title save -1 rankings for favs Fix favourites persistence Jul 5, 2026
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