summaryrefslogtreecommitdiff
path: root/repgoal.hs
diff options
context:
space:
mode:
Diffstat (limited to 'repgoal.hs')
-rwxr-xr-xrepgoal.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/repgoal.hs b/repgoal.hs
index 2170073..480d1e2 100755
--- a/repgoal.hs
+++ b/repgoal.hs
@@ -102,7 +102,7 @@ showRational n = printf format $ (realToFrac :: Rational -> Float) $ n
102drawUI :: () -> [Widget ()] 102drawUI :: () -> [Widget ()]
103drawUI () = [a] 103drawUI () = [a]
104 where 104 where
105 a = hCenter $ renderTable $ table $ 105 a = vCenter $ hCenter $ renderTable $ table $
106 map (padLeftRight 1 . str) ["Lift", "Achieved Best", "Computed 1RM", "Goal Reps", "Goal+1"] : map toRow lifts 106 map (padLeftRight 1 . str) ["Lift", "Achieved Best", "Computed 1RM", "Goal Reps", "Goal+1"] : map toRow lifts
107 toRow x@LiftTarget{..} = 107 toRow x@LiftTarget{..} =
108 let best@Achieved{..} = bestPerformance stats 108 let best@Achieved{..} = bestPerformance stats