correct timers

This commit is contained in:
2024-12-09 21:20:09 +01:00
parent 64ca83083e
commit cf3f5b11ac

View File

@@ -147,7 +147,7 @@ export class FocusPage implements OnInit, OnDestroy {
this.state = FocusState.FOCUS;
this.stopStatsCounter();
this.focusService.startFocus();
this.startTimer(1); // 25
this.startTimer(25); // 25
}
reload() {
@@ -160,7 +160,7 @@ export class FocusPage implements OnInit, OnDestroy {
this.state = FocusState.SHORT_BREAK;
this.stopStatsCounter();
this.focusService.startShortBreak();
this.startTimer(0.3); // 5
this.startTimer(5); // 5
}
recharge() {
@@ -173,6 +173,6 @@ export class FocusPage implements OnInit, OnDestroy {
this.state = FocusState.LONG_BREAK;
this.stopStatsCounter();
this.focusService.startLongBreak();
this.startTimer(0.5); // 15
this.startTimer(15); // 15
}
}