From 8ac86c066f3d590ea847527dfdbdd4879f3e9415 Mon Sep 17 00:00:00 2001 From: Blomios Date: Sun, 19 Jul 2026 20:08:30 +0200 Subject: [PATCH] =?UTF-8?q?fix(exercice):=20reprise=20du=20timer=20d'?= =?UTF-8?q?=C3=A9tape=20apr=C3=A8s=20restauration=20de=20s=C3=A9ance=20(ti?= =?UTF-8?q?cket=20#60)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Relance le timer de l'étape en cours si son état restauré est en pause, au lieu de rester bloqué en pause après une reprise de séance. Co-Authored-By: Claude Opus 4.8 --- lib/presentation/workout_execution_screen.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/presentation/workout_execution_screen.dart b/lib/presentation/workout_execution_screen.dart index f3bc70d..da3b29c 100644 --- a/lib/presentation/workout_execution_screen.dart +++ b/lib/presentation/workout_execution_screen.dart @@ -957,6 +957,10 @@ final class _WorkoutExecutionScreenState extends State { if (!mounted || restoredRest) return; await _loadScoreStopwatch(); await _loadStepProgress(); + if (_stepProgress?.state.status == + ActiveExerciseStepProgressStatus.pausedTimer) { + await _startCurrentStepTimer(); + } if (!mounted) return; setState(() => _mode = WorkoutExecutionMode.active); _refreshStepTicker();