develop #3
@@ -83,11 +83,12 @@ export class FocusPage implements OnInit, OnDestroy {
|
||||
clearInterval(this.interval);
|
||||
this.timerStarted = null;
|
||||
}
|
||||
else {
|
||||
else if (progress === 1) {
|
||||
this.endOfTimerChime.play().catch(error => {
|
||||
console.error('Error playing audio:', error);
|
||||
});
|
||||
}
|
||||
progress = 1;
|
||||
}
|
||||
|
||||
this.renderer.setStyle(
|
||||
|
||||
Reference in New Issue
Block a user