correct timers
This commit is contained in:
@@ -147,7 +147,7 @@ export class FocusPage implements OnInit, OnDestroy {
|
|||||||
this.state = FocusState.FOCUS;
|
this.state = FocusState.FOCUS;
|
||||||
this.stopStatsCounter();
|
this.stopStatsCounter();
|
||||||
this.focusService.startFocus();
|
this.focusService.startFocus();
|
||||||
this.startTimer(1); // 25
|
this.startTimer(25); // 25
|
||||||
}
|
}
|
||||||
|
|
||||||
reload() {
|
reload() {
|
||||||
@@ -160,7 +160,7 @@ export class FocusPage implements OnInit, OnDestroy {
|
|||||||
this.state = FocusState.SHORT_BREAK;
|
this.state = FocusState.SHORT_BREAK;
|
||||||
this.stopStatsCounter();
|
this.stopStatsCounter();
|
||||||
this.focusService.startShortBreak();
|
this.focusService.startShortBreak();
|
||||||
this.startTimer(0.3); // 5
|
this.startTimer(5); // 5
|
||||||
}
|
}
|
||||||
|
|
||||||
recharge() {
|
recharge() {
|
||||||
@@ -173,6 +173,6 @@ export class FocusPage implements OnInit, OnDestroy {
|
|||||||
this.state = FocusState.LONG_BREAK;
|
this.state = FocusState.LONG_BREAK;
|
||||||
this.stopStatsCounter();
|
this.stopStatsCounter();
|
||||||
this.focusService.startLongBreak();
|
this.focusService.startLongBreak();
|
||||||
this.startTimer(0.5); // 15
|
this.startTimer(15); // 15
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user