reset button for pom timer. Close #172

This commit is contained in:
2023-02-25 13:35:15 -07:00
parent 32fa46cd1a
commit ee3cbb12fc
2 changed files with 17 additions and 7 deletions

View File

@@ -40,4 +40,9 @@
(if (= 0 (% totalPoms 4))
longBreakMin
breakMin)))))
(set text (getText)))
(set text (getText)))
(function resetTimer []
(set workMode false)
(set timerValue 0)
(set totalPoms 0))