added back diff line

This commit is contained in:
Sem van der Hoeven
2021-01-07 11:35:44 +01:00
parent 20431d019b
commit 8169e8c680

View File

@@ -36,6 +36,7 @@ public class StatisticFragment extends Fragment {
initializeDistanceTextView(view);
TextView locs = view.findViewById(R.id.statistics_locations_visited);
TextView timeText = view.findViewById(R.id.statistics_time_value);
TextView distance = view.findViewById(R.id.statistics_km);
double dist = Data.INSTANCE.getDistanceTraveled() / 1000;
distance.setText("" + String.format("%.1f", dist) + " km");