From 4764aa40f0a9bbbc6d2907197bb411b83d6bc1bb Mon Sep 17 00:00:00 2001 From: Crondung <1922635@stud.hs-mannheim.de> Date: Mon, 6 Mar 2023 23:50:13 +0100 Subject: [PATCH] use correct workout times --- lib/providers/workout_provider.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/providers/workout_provider.dart b/lib/providers/workout_provider.dart index ebcaf9c..0db0c82 100644 --- a/lib/providers/workout_provider.dart +++ b/lib/providers/workout_provider.dart @@ -100,25 +100,25 @@ class WorkoutProvider extends ChangeNotifier { Map> _workoutPhaseSettings = { WorkoutPhases.warmUp: { 'title': 'Warm Up', - 'duration': const Duration(seconds: 5), + 'duration': const Duration(minutes: 5), 'source': AssetSource('warmUp.mp3'), 'color': Colors.green }, WorkoutPhases.highIntensity: { 'title': 'High Intensity', - 'duration': const Duration(seconds: 4), + 'duration': const Duration(minutes: 4), 'source': AssetSource('workout.mp3'), 'color': Colors.red }, WorkoutPhases.lowIntensity: { 'title': 'Low Intensity', - 'duration': const Duration(seconds: 3), + 'duration': const Duration(minutes: 3), 'source': AssetSource('workout.mp3'), 'color': Colors.orange }, WorkoutPhases.coolDown: { 'title': 'Cool Down', - 'duration': const Duration(seconds: 5), + 'duration': const Duration(minutes: 5), 'source': AssetSource('cool_down.mp3'), 'color': Colors.blue }