small fixes;

This commit is contained in:
Skalii 2021-03-22 21:52:10 +02:00
parent 1d66be6f4b
commit 6daf750591

View file

@ -225,6 +225,10 @@ public class TripRecordingBottomFragment extends MenuBottomSheetDialogFragment i
super.onResume();
blockStatisticsBuilder.runUpdatingStatBlocksIfNeeded();
runUpdatingGPS();
MapActivity mapActivity = getMapActivity();
if (mapActivity != null) {
mapActivity.getMapLayers().getGpxLayer().setTrackChartPoints(trackChartPoints);
}
}
@Override
@ -235,7 +239,8 @@ public class TripRecordingBottomFragment extends MenuBottomSheetDialogFragment i
MapActivity mapActivity = getMapActivity();
if (mapActivity != null) {
mapActivity.getMapLayers().getGpxLayer().setTrackChartPoints(null);
}}
}
}
public void show() {
Dialog dialog = getDialog();