Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2017-07-29 10:57:13 +02:00
commit fe97344ccc

View file

@ -591,7 +591,7 @@ public class SplitSegmentFragment extends OsmAndListFragment {
minMaxSpeedPaint.getTextBounds(maxMinSpeed, 0, maxMinSpeed.length(), minMaxSpeedTextBounds); minMaxSpeedPaint.getTextBounds(maxMinSpeed, 0, maxMinSpeed.length(), minMaxSpeedTextBounds);
int minMaxStringWidth = minMaxSpeedTextBounds.width(); int minMaxStringWidth = minMaxSpeedTextBounds.width();
if (minSpeed.substring(0, minSpeed.indexOf(" ")).equals("0") || minSpeed.substring(0, minSpeed.indexOf(" ")).equals("0.0")) { if (analysis.minSpeed == 0) {
(convertView.findViewById(R.id.max_speed_value)) (convertView.findViewById(R.id.max_speed_value))
.setVisibility(View.VISIBLE); .setVisibility(View.VISIBLE);
(convertView.findViewById(R.id.min_speed_value)) (convertView.findViewById(R.id.min_speed_value))