Fixes
This commit is contained in:
parent
57cb3ae611
commit
00f8e6854e
4 changed files with 3 additions and 7 deletions
|
@ -9,6 +9,7 @@
|
|||
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
|
||||
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
|
||||
-->
|
||||
<string name="shared_string_topbar">Topbar</string>
|
||||
<string name="recalculate_route">Recalculate route</string>
|
||||
<string name="donations">Donations</string>
|
||||
<string name="number_of_recipients">Number of recipients</string>
|
||||
|
|
|
@ -255,7 +255,6 @@ public class MapMarkersHelper {
|
|||
|
||||
public void removeActiveMarkers() {
|
||||
cancelAddressRequests();
|
||||
List<MapMarker> markers = new ArrayList<>(mapMarkers.size());
|
||||
for (int i = mapMarkers.size() - 1; i>= 0; i--) {
|
||||
MapMarker marker = mapMarkers.get(i);
|
||||
addMapMarkerHistory(marker);
|
||||
|
@ -320,7 +319,7 @@ public class MapMarkersHelper {
|
|||
selections[i] = false;
|
||||
indexes[i] = 0;
|
||||
}
|
||||
/*
|
||||
/* adding map marker to second topbar's row
|
||||
if (sortedMapMarkers.size() > 0) {
|
||||
MapMarker firstMarker = sortedMapMarkers.get(0);
|
||||
settings.updateMapMarker(firstMarker.getLatitude(), firstMarker.getLongitude(),
|
||||
|
|
|
@ -2475,7 +2475,7 @@ public class OsmandSettings {
|
|||
}
|
||||
|
||||
public enum MapMarkersMode {
|
||||
TOOLBAR(R.string.shared_string_toolbar),
|
||||
TOOLBAR(R.string.shared_string_topbar),
|
||||
WIDGETS(R.string.shared_string_widgets),
|
||||
NONE(R.string.shared_string_none);
|
||||
|
||||
|
|
|
@ -322,10 +322,6 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis
|
|||
mapActivity.getMapActions().stopNavigationWithoutConfirm();
|
||||
mapActivity.getMapLayers().getMapControlsLayer().getMapRouteInfoMenu().hide();
|
||||
}
|
||||
//} else {
|
||||
// if (visibleType == DashboardType.MAP_MARKERS || visibleType == DashboardType.MAP_MARKERS_SELECTION) {
|
||||
// reloadAdapter();
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue