fix typos
This commit is contained in:
parent
779b677551
commit
b3455227e7
2 changed files with 3 additions and 2 deletions
|
@ -266,7 +266,7 @@ public class NavigatePointFragment extends SherlockFragment implements SearchAct
|
|||
} else {
|
||||
targetPointsHelper.navigateToPoint(new LatLon(lat, lon), true, targetPointsHelper.getIntermediatePoints().size());
|
||||
}
|
||||
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
|
||||
IntermediatePointsDialog.openIntermediatePointsDialog(getActivity());
|
||||
MapActivity.launchMapActivityMoveToTop(getActivity());
|
||||
} else if (mode == SHOW_ON_MAP){
|
||||
OsmandApplication app = (OsmandApplication) getActivity().getApplication();
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package net.osmand.plus.activities.search;
|
||||
|
||||
import net.osmand.plus.activities.IntermediatePointsDialog
|
||||
|
||||
import java.text.MessageFormat;
|
||||
|
||||
|
@ -303,7 +304,7 @@ public class SearchAddressFragment extends SherlockFragment {
|
|||
} else {
|
||||
targetPointsHelper.navigateToPoint(searchPoint, true, targetPointsHelper.getIntermediatePoints().size());
|
||||
}
|
||||
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
|
||||
IntermediatePointsDialog.openIntermediatePointsDialog(getActivity());
|
||||
MapActivity.launchMapActivityMoveToTop(getActivity());
|
||||
} else if (mode == SHOW_ON_MAP) {
|
||||
osmandSettings.setMapLocationToShow(searchPoint.getLatitude(), searchPoint.getLongitude(), zoom, historyName);
|
||||
|
|
Loading…
Reference in a new issue