small fixes;
This commit is contained in:
parent
1d66be6f4b
commit
6daf750591
1 changed files with 6 additions and 1 deletions
|
@ -225,6 +225,10 @@ public class TripRecordingBottomFragment extends MenuBottomSheetDialogFragment i
|
||||||
super.onResume();
|
super.onResume();
|
||||||
blockStatisticsBuilder.runUpdatingStatBlocksIfNeeded();
|
blockStatisticsBuilder.runUpdatingStatBlocksIfNeeded();
|
||||||
runUpdatingGPS();
|
runUpdatingGPS();
|
||||||
|
MapActivity mapActivity = getMapActivity();
|
||||||
|
if (mapActivity != null) {
|
||||||
|
mapActivity.getMapLayers().getGpxLayer().setTrackChartPoints(trackChartPoints);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -235,7 +239,8 @@ public class TripRecordingBottomFragment extends MenuBottomSheetDialogFragment i
|
||||||
MapActivity mapActivity = getMapActivity();
|
MapActivity mapActivity = getMapActivity();
|
||||||
if (mapActivity != null) {
|
if (mapActivity != null) {
|
||||||
mapActivity.getMapLayers().getGpxLayer().setTrackChartPoints(null);
|
mapActivity.getMapLayers().getGpxLayer().setTrackChartPoints(null);
|
||||||
}}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void show() {
|
public void show() {
|
||||||
Dialog dialog = getDialog();
|
Dialog dialog = getDialog();
|
||||||
|
|
Loading…
Reference in a new issue