From 7404a9c672f20270dd8ca303dd65bbd241a27b52 Mon Sep 17 00:00:00 2001 From: Chris Schlaeger Date: Tue, 19 Jan 2016 07:00:32 +0100 Subject: FIX: Don't show elevation graph for treadmill activities. --- lib/postrunner/ChartView.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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', -- cgit v1.2.3