Fix bug in generating the time string.

This commit is contained in:
Jimmy Shih
2013-02-14 14:37:51 -08:00
parent c9fa895ba4
commit 3dd578064e
@@ -113,7 +113,7 @@ public class ListItemUtils {
if (buffer.length() != 0) { if (buffer.length() != 0) {
buffer.append(" \u2027" ); buffer.append(" \u2027" );
} }
buffer.append(totalDistance); buffer.append(totalTime);
} }
if (totalDistance != null && totalDistance.length() != 0) { if (totalDistance != null && totalDistance.length() != 0) {
if (buffer.length() != 0) { if (buffer.length() != 0) {