-
Notifications
You must be signed in to change notification settings - Fork 31
Issue 226 and 240 solved. #259
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
base: main
Are you sure you want to change the base?
Changes from all commits
7f24ee1
e66af07
9bc61e9
0282d4e
5b8957f
ed73d25
1a472ae
c633c5e
7d5c57f
d338a35
1b7748b
41d2d0d
85e17df
c502bbb
d251695
de71d96
fe41a95
c53d1c3
7494276
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -434,3 +434,4 @@ fileprivate extension AVAudioPCMBuffer { | |
| return buffer | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -118,7 +118,9 @@ class AutoCalloutGenerator: AutomaticGenerator, ManualGenerator { | |
| // MARK: - Private Constants | ||
|
|
||
| private let inVehicleBeaconUpdateDistance: CLLocationDistance = 1000.0 // meters | ||
| private let calloutDelay = 0.75 | ||
| private var calloutDelay: Double { | ||
| return SettingsContext.shared.calloutsDelayEnabled ? 0.75 : 0.0 | ||
| } | ||
|
Comment on lines
+121
to
+123
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use the injected settings provider for Line 121 currently reads from 🔧 Proposed fix- private var calloutDelay: Double {
- return SettingsContext.shared.calloutsDelayEnabled ? 0.75 : 0.0
- }
+ private var calloutDelay: Double {
+ return settings.calloutsDelayEnabled ? 0.75 : 0.0
+ }🤖 Prompt for AI Agents |
||
|
|
||
| // MARK: - Private Properties | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,7 +62,9 @@ class BeaconCalloutGenerator: AutomaticGenerator, ManualGenerator { | |
| // MARK: - Private Constants | ||
|
|
||
| private let inVehicleBeaconUpdateDistance: CLLocationDistance = 1000.0 // meters | ||
| private let calloutDelay: TimeInterval = 0.75 | ||
| private var calloutDelay: Double { | ||
| return SettingsContext.shared.calloutsDelayEnabled ? 1.00 : 0.0 | ||
| } | ||
|
Comment on lines
+65
to
+67
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep the beacon delay aligned with the existing default. This toggle also changes beacon pacing from 🤖 Prompt for AI Agents |
||
|
|
||
| // MARK: - Private Properties | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix typo and incomplete description in comment.
The comment has two issues:
fadeOutmethod)📝 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents