Change secound to minutes

main
Parricc35 2023-02-20 21:18:16 +01:00
parent c51ac602d4
commit 1504885e43
1 changed files with 4 additions and 4 deletions

View File

@ -10,10 +10,10 @@ class IntervalTimerPage extends StatefulWidget {
} }
class _IntervalTimerPageState extends State<IntervalTimerPage> { class _IntervalTimerPageState extends State<IntervalTimerPage> {
final Duration _warmupDuration = const Duration(seconds: 5); final Duration _warmupDuration = const Duration(minutes: 5);
final Duration _cooldownDuration = const Duration(seconds: 5); final Duration _cooldownDuration = const Duration(minutes: 5);
final Duration _highIntensityDuration = const Duration(seconds: 4); final Duration _highIntensityDuration = const Duration(minutes: 4);
final Duration _lowIntensityDuration = const Duration(seconds: 3); final Duration _lowIntensityDuration = const Duration(minutes: 3);
late Duration _totalDuration = const Duration(minutes: 35); late Duration _totalDuration = const Duration(minutes: 35);
AudioPlayer warmUpPlayer = AudioPlayer(); AudioPlayer warmUpPlayer = AudioPlayer();
AudioPlayer workoutPlayer = AudioPlayer(); AudioPlayer workoutPlayer = AudioPlayer();