diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java b/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java index 8520139ffe..828750889c 100644 --- a/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java +++ b/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java @@ -439,7 +439,7 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks { onScrollChanged(listView.getScrollY(), false, false); } if (refresh) { - refreshContent(false); + refreshContent(visibleType == DashboardType.CONFIGURE_MAP); } else { updateListAdapter(); updateListBackgroundHeight(); @@ -505,7 +505,7 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks { public void refreshContent(boolean force) { if (visibleType == DashboardType.WAYPOINTS || visibleType == DashboardType.WAYPOINTS_EDIT - || visibleType == DashboardType.CONFIGURE_MAP || force) { + || force) { updateListAdapter(); } else { listAdapter.notifyDataSetChanged(); @@ -923,7 +923,7 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks { } public static class DefaultShouldShow extends DashFragmentData.ShouldShowFunction { - + public boolean shouldShow(OsmandSettings settings, MapActivity activity, String tag) { return settings.registerBooleanPreference(SHOULD_SHOW + tag, true).makeGlobal().get(); }