From 29eac851219e36bccf2724b05d52b70438b5bf3f Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sat, 21 Mar 2015 12:40:48 +0100 Subject: Removing restart button --- src/Update/UpdateTimer.elm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/Update') 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 -> -- cgit v1.2.3