fix build for now

This commit is contained in:
sonora 2017-05-25 10:10:33 +02:00
parent 5cd7d8a08e
commit 67bf424618

View file

@ -1260,11 +1260,11 @@ public class GpxUiHelper {
if (analysis.hasSpeedInTrack()) {
yAxis.setTextColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_orange_label));
yAxis.setGridColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_orange_grid));
((TextView) findViewById(R.id.text_spd_container).findViewById(R.id.text_spd_value)).setTextColor(R.color.gpx_chart_orange);
//FIXME: ((TextView) findViewById(R.id.text_spd_container).findViewById(R.id.text_spd_value)).setTextColor(R.color.gpx_chart_orange);
} else {
yAxis.setTextColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_red_label));
yAxis.setGridColor(ActivityCompat.getColor(mChart.getContext(), R.color.gpx_chart_red_grid));
((TextView) findViewById(R.id.text_spd_container).findViewById(R.id.text_spd_value)).setTextColor(R.color.gpx_chart_red);
//FIXME: ((TextView) findViewById(R.id.text_spd_container).findViewById(R.id.text_spd_value)).setTextColor(R.color.gpx_chart_red);
}
yAxis.setAxisMinimum(0f);