summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2016-01-19 07:00:32 +0100
committerChris Schlaeger <chris@linux.com>2016-01-19 07:00:32 +0100
commit7404a9c672f20270dd8ca303dd65bbd241a27b52 (patch)
tree24d9b4ef3eed256724948f59e23c638d829f8dd2
parent7f9e651990706cf4906987365e185b279bb609dc (diff)
downloadpostrunner-7404a9c672f20270dd8ca303dd65bbd241a27b52.zip
FIX: Don't show elevation graph for treadmill activities.
-rw-r--r--lib/postrunner/ChartView.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/postrunner/ChartView.rb b/lib/postrunner/ChartView.rb
index 2b13e28..3e7729b 100644
--- a/lib/postrunner/ChartView.rb
+++ b/lib/postrunner/ChartView.rb
@@ -46,7 +46,7 @@ module PostRunner
:unit => select_unit('m'),
:graph => :line_graph,
:colors => '#5AAA44',
- :show => true
+ :show => @activity.sub_sport != 'treadmill'
},
{
:id => 'heart_rate',