From c79674eb46fd0960e7d21c8b2bb15a0a6319b83e Mon Sep 17 00:00:00 2001 From: "k.mannweiler" <2012491@stud.hs-mannheim.de> Date: Sat, 4 Mar 2023 18:24:02 +0100 Subject: [PATCH] deleted old code --- lib/providers/workout_provider.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/providers/workout_provider.dart b/lib/providers/workout_provider.dart index 067ebcb..5d85c18 100644 --- a/lib/providers/workout_provider.dart +++ b/lib/providers/workout_provider.dart @@ -39,8 +39,6 @@ class WorkoutProvider extends ChangeNotifier { _workoutPhaseSettings[currentPhase]!['source']; void nextPhase() { - _onCompleteSubscription.cancel(); - _audioPlayer.stop(); if (_workoutPhaseIndex < _workoutPhases.length - 1) { _workoutPhaseIndex += 1; audioProvider.playSourceAfterBeep(currentPhaseSource);