Difficulty in pomodoro timing events , please suggest changes

Difficulty in pomodoro timing events , please suggest changes
0

#1

when it enters the breakTime, the time is decreasing by 2sec successively instead of decreasing by 1sec. this is happening in every new cycle.
how can i avoid it?
please see my code in this pomodoro


#2

Seems fine now? Perhaps you fixed it in the meantime.


#3

Hey, can you check my code now. I think it can be refactored. There are lot of variables and it looks repititive. Let me know what you think about it. Thankyou