mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-29 17:21:45 +01:00
The card showed only "Entsperrmodus" and "Erneut einrichten", so it looked identical whichever mode was set and coming back from the explainer read as if the choice had done nothing. Name the mode that is actually set, modelled as the three states the setup can rest in — unlock-with-Zwift, right-side- only, and the legacy restart loop — resolved in one place so both pucks name the same mode the same way. The missing unlock option was real, too. unlockWarnings — which carries "Jetzt freischalten" — is rendered only by the left puck and the legacy unified controller, and returns nothing without a connection; the right puck never carried it, correctly, since the left one is what Zwift locks. So in Zwift mode with the left puck off, asleep or not yet rediscovered, the action existed nowhere and the card sat silent. Point at the left controller in that case instead. When it is connected nothing changes: the left card shows the real unlock UI and the right card stays quiet. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>