aboutsummaryrefslogtreecommitdiff
path: root/src/Update/UpdateTimer.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Update/UpdateTimer.elm')
-rw-r--r--src/Update/UpdateTimer.elm8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/Update/UpdateTimer.elm b/src/Update/UpdateTimer.elm
index 7033f81..e45a3c2 100644
--- a/src/Update/UpdateTimer.elm
+++ b/src/Update/UpdateTimer.elm
@@ -10,8 +10,7 @@ import Model.TimerState (..)
import Model.Id (..)
type TimerAction =
- Restart
- | Pause
+ Pause
| ToggleRunning
| Stop
| SetTime Time
@@ -19,11 +18,6 @@ type TimerAction =
updateTimer : TimerAction -> Timer -> Timer
updateTimer action timer =
case action of
- Restart ->
- { timer
- | currentTime <- initTime timer.initialTime
- , state <- Running
- }
Pause ->
{ timer | state <- Idle }
ToggleRunning ->