Skip to content

Conversation

@DirkBaumeister
Copy link

As mentioned here: #76 currently, if the security release is used (and the release version of the device ends with a 1 instead of a 0) the info screen for new releases always stays at the top and does not scroll to the currently installed release, like it did before.

With this pull request this is fixed the following way:
If by the exact version of the device no entry in the atom rss feed title can be found, a second matching for the index of the current release version takes place. But this time, the last character of the release number is replaced by the next higher digit (0 gets a 1, 2 gets a 3, 4 gets a 5 and so on for any possible "standard" and security release combo).

This way, even if there are multiple releases in one day (Which would result in releases with 02, 04, 06 etc at the end for "standard" releases and its corresponding security releases 01, 03, 05, 07 etc...), it would still match this releases first before it even tries to find it by a security release version number.

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