aboutsummaryrefslogtreecommitdiff
path: root/src/Model/Model.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-21 21:11:10 +0100
committerJoris Guyonvarch2015-03-21 21:11:10 +0100
commit466d5dfdf398ba8c8665c841e04dafea7c288b95 (patch)
treec1b000be76541d248a0b84d0a3109661867d434c /src/Model/Model.elm
parentbe2663265cc7205ff690a2fbf3346913c812085d (diff)
Adding a progress bar to the timer time
Diffstat (limited to 'src/Model/Model.elm')
-rw-r--r--src/Model/Model.elm5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Model/Model.elm b/src/Model/Model.elm
index ad1e9da..b929261 100644
--- a/src/Model/Model.elm
+++ b/src/Model/Model.elm
@@ -1,7 +1,6 @@
module Model.Model
( Model
, initialModel
- , substractTimersTime
, numberOfTimers
) where
@@ -32,9 +31,5 @@ initialModel initialTime =
, timerEdition = Nothing
}
-substractTimersTime : Time -> Dict Id Timer -> Dict Id Timer
-substractTimersTime t timers =
- Dict.map (\id timer -> substractTimerTime t timer) timers
-
numberOfTimers : Model -> Int
numberOfTimers = List.length << Dict.toList << .timers