deleted old code
parent
c14e881558
commit
c79674eb46
|
@ -39,8 +39,6 @@ class WorkoutProvider extends ChangeNotifier {
|
||||||
_workoutPhaseSettings[currentPhase]!['source'];
|
_workoutPhaseSettings[currentPhase]!['source'];
|
||||||
|
|
||||||
void nextPhase() {
|
void nextPhase() {
|
||||||
_onCompleteSubscription.cancel();
|
|
||||||
_audioPlayer.stop();
|
|
||||||
if (_workoutPhaseIndex < _workoutPhases.length - 1) {
|
if (_workoutPhaseIndex < _workoutPhases.length - 1) {
|
||||||
_workoutPhaseIndex += 1;
|
_workoutPhaseIndex += 1;
|
||||||
audioProvider.playSourceAfterBeep(currentPhaseSource);
|
audioProvider.playSourceAfterBeep(currentPhaseSource);
|
||||||
|
|
Loading…
Reference in New Issue