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

check spinner bounds #3412

Merged
merged 2 commits into from
Nov 12, 2024
Merged

check spinner bounds #3412

merged 2 commits into from
Nov 12, 2024

Conversation

r10s
Copy link
Member

@r10s r10s commented Nov 5, 2024

can be merged to #3410 or later to main

Spinner is very picky about bad selections,
this is an accident waiting to happen -
eg. if new values are introduced
or someone thinks, the "deprecated" case can be removed.

better do not trust incoming data.

nb: first i did a "clip to bounds", so that larger values get the "maximum", however, although anything is better than always crashing, i think it is better to for for "default" in this case. however, this requires the "deprecated" check introduced by #3410 for the next time at least (iOS and desktop always write a 3, probably also DeltaTouch)

Copy link

github-actions bot commented Nov 5, 2024

To test the changes in this pull request, install this apk:
📦 app-preview.apk

Base automatically changed from hoc/fix-certificate-checks to main November 5, 2024 14:28
Spinner is very picky about bad selections,
this is an accident waiting to happen -
eg. if new values are introduces
or someone thinks, the "deprecated" case can be removed.

better do not trust incoming data.
Copy link

github-actions bot commented Nov 5, 2024

To test the changes in this pull request, install this apk:
📦 app-preview.apk

@adbenitez
Copy link
Member

should we merge this?

@r10s r10s merged commit a5167f3 into main Nov 12, 2024
2 checks passed
@r10s r10s deleted the r10s/check-spinner-bounds branch November 12, 2024 09:02
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.

3 participants