Keep the iPhone screen awake for the whole app session

Move the idle-timer disable out of ExerciseView/ExerciseProgressView and
up to the app scene, re-asserting it whenever the scene becomes active
(iOS clears the flag on background). A propped-up phone now stays lit for
the entire workout, not just while an exercise is open.

Claude-Session: https://claude.ai/code/session_01SCv7zvGFcKy47KSTnTLxRe
This commit is contained in:
2026-06-20 21:48:03 -04:00
parent a16e8ec270
commit b911818587
4 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ Tapping an exercise on iPhone now opens a paged workout run — the same Ready
The exercise detail and edit screen moved behind an Edit swipe on the trailing edge; the leading swipe still completes a set.
The iPhone screen now stays awake while an exercise is open, so it no longer sleeps mid-set.
The iPhone screen now stays awake the whole time the app is open, so a propped-up phone never sleeps during a workout.
The Apple Watch is now a focused workout runner: it opens on the active workout's exercises (or prompts you to start one on iPhone) and lists every in-progress workout at the root.