Skip to content

Fix favourites persistence#290

Merged
unsecretised merged 1 commit into
MystikoLab:masterfrom
memohnsen:fix-persistent-favs
Jul 9, 2026
Merged

Fix favourites persistence#290
unsecretised merged 1 commit into
MystikoLab: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
@unsecretised unsecretised merged commit a6b05a2 into MystikoLab:master Jul 9, 2026
2 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