Skip to content

Editorial: name the chosen accuracy |choice|, not |permission| - #2

Merged
antosart merged 2 commits into
antosart:approx-location-2from
marcoscaceres:fix/geo-233-choice-rename
Jul 30, 2026
Merged

Editorial: name the chosen accuracy |choice|, not |permission|#2
antosart merged 2 commits into
antosart:approx-location-2from
marcoscaceres:fix/geo-233-choice-rename

Conversation

@marcoscaceres

Copy link
Copy Markdown

Renames the local variable |permission| to |choice| in the acquire-a-position and request-a-position algorithms: it holds the result of "prompt the user to choose", which is either "denied" or the chosen AccuracyMode, so |permission| misleadingly reads as a grant/deny state when it actually carries the accuracy selection (this matches the Permissions spec's own wording, "the user's selection"). Also fixes a TyTry typo and aligns the emulated-position construction call's argument punctuation with the main call.

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