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

Fix LocationDataSource crash in MockRelease build #5886

Merged

Conversation

rablador
Copy link
Contributor

@rablador rablador commented Mar 1, 2024

In setRelays(_ response: REST.ServerRelaysResponse, filter: RelayFilter) we construct a list of item lists by looking at the number of data sources (2) and then try to index match with all section cases (1). This causes an index overflow.

Fix for the above, plus fix for row scrolling being slightly off.


This change is Reviewable

@rablador rablador added bug iOS Issues related to iOS labels Mar 1, 2024
@rablador rablador requested a review from buggmagnet March 1, 2024 14:23
Copy link

linear bot commented Mar 1, 2024

Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@buggmagnet buggmagnet force-pushed the locationdatasource-crashes-in-mockrelease-build-ios-526 branch from 5694c3a to 4d12a45 Compare March 4, 2024 08:37
@buggmagnet buggmagnet merged commit d5b51c6 into main Mar 4, 2024
5 checks passed
@buggmagnet buggmagnet deleted the locationdatasource-crashes-in-mockrelease-build-ios-526 branch March 4, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug iOS Issues related to iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants