mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-30 17:52:33 +01:00
Riders who turned the overlay on before `overlay_answered` existed carry no flag, so the first time it went off after upgrading (the Live Activity's "stop ride", the trainer page's switch) the home screen would have asked them once more. `getOverlayAnswered()` now derives true from `overlay_enabled`, and `setOverlayEnabled(false)` carries that answer forward into the flag, so no read has side effects and the step never comes back as required for them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>