From c7ee7d50c393c1bf14ab69eaf5b5a10d0750a9aa Mon Sep 17 00:00:00 2001 From: Chumva Date: Tue, 1 Oct 2019 11:27:35 +0300 Subject: [PATCH] Fix compilation --- .../src/net/osmand/plus/activities/MapActivityActions.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index 26a6501179..49d8080bf1 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -63,7 +63,7 @@ import net.osmand.plus.routepreparationmenu.MapRouteInfoMenu; import net.osmand.plus.routepreparationmenu.WaypointsFragment; import net.osmand.plus.routing.RouteProvider.GPXRouteParamsBuilder; import net.osmand.plus.routing.RoutingHelper; -import net.osmand.plus.settings.ConfigureProfileFragment; +import net.osmand.plus.settings.BaseSettingsFragment; import net.osmand.plus.views.BaseMapLayer; import net.osmand.plus.views.MapControlsLayer; import net.osmand.plus.views.MapTileLayer; @@ -1009,7 +1009,8 @@ public class MapActivityActions implements DialogProvider { .setListener(new ItemClickListener() { @Override public boolean onContextMenuClick(ArrayAdapter adapter, int itemId, int position, boolean isChecked, int[] viewCoordinates) { - ConfigureProfileFragment.showInstance(mapActivity.getSupportFragmentManager()); + mapActivity.dismissSettingsScreens(); + BaseSettingsFragment.showInstance(mapActivity, BaseSettingsFragment.SettingsScreenType.CONFIGURE_PROFILE); return true; } })