-
Notifications
You must be signed in to change notification settings - Fork 22
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
"Enter Vicinity Distance" setting #102
Conversation
Sorry it's been so long. Just uploading a build for testing now. |
The setting works fine for voiceover. Not really too important, but this kind of control usually appears to voiceover as a single control which is adjustable by swiping up or down. |
As discussed on the call today, could we have a no cutoff option, so the beacon stays active until manually stopped? 5m is still quite a distance for a totally blind user. I know the GPS accuracy isn't much better than that, but it would still be useful to have the beacon to make sure you stay in the vicinity while you find the exact location. |
Adjusting the minimum down to zero is easy enough. Regarding @jchudge's request to change the color on the increment/decrement buttons, it definitely occurred to me, but I hadn't done it because I discovered the native |
Thanks for working on this! It works with voiceover, but puts increment and decrement actions in the vo actions rotor. The following makes it behave perfectly with VO. Thanks to claude.ai (...)
.accessibilityElement(children: .ignore)
.accessibilityValue("\(Int(value)) \(unitsLocalization)")
.accessibilityAdjustableAction { direction in
switch direction {
case .increment:
increment()
case .decrement:
decrement()
@unknown default:
break
}
} I wonder if it should just be an integer setting anyway to avoid the need for truncation? I think you are right that the setting won't take effect until you close the app. the setting should probably be referenced directly each time it is used instead of being stored in a static constant. |
Thanks for the feedback. I added the additional accessibility attributes, and replaced references to the static Regarding the setting's data type, the value is used as a |
I was trying to rebase this in order to merge but there's a conflict in a Localization.strings file. Most of the strings files are UTF-16 which isn't well supported y git and it sees them as binary files. I was planning to convert them all to UTF-8 in main before merging this. Do you think that will be ok? |
Adds a setting to configure the distance threshold for stopping beacon audio. Fixes #78
1f19bc3
to
f006c89
Compare
sorry, I know it's not a good idea to rebase someone else's branch, but I'm just going to merge this now and we can fix any issues in a new pr. |
Adds a stepper (plus/minus buttons) under Settings > Audio Beacon to configure the distance threshold for stopping beacon audio. Default 15m, min 5m, max 50m, increments by 5m.
It's possible you need to restart Soundscape before a settings change takes effect. This might be fixable.
Would appreciate testing of the interactive setting by VoiceOver users.
Fixes #78