This commit is contained in:
GaidamakUA 2015-11-18 18:06:46 +02:00
parent a7a3cc733e
commit 3cc682a75b
2 changed files with 2 additions and 2 deletions

View file

@ -439,7 +439,7 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks {
onScrollChanged(listView.getScrollY(), false, false);
}
if (refresh) {
refreshContent(visibleType == DashboardType.CONFIGURE_MAP);
refreshContent(false);
} else {
updateListAdapter();
updateListBackgroundHeight();

View file

@ -477,7 +477,7 @@ public class EditPoiDialogFragment extends DialogFragment {
private void setAdapterForPoiTypeEditText() {
final Map<String, PoiType> subCategories = new LinkedHashMap<>();
for (Map.Entry<String, PoiType> s : editPoiData.getAllTranslatedSubTypes().entrySet()) {
if (!subCategories.containsKey(s.getKey()) && !s.getValue().isNotEditableOsm()) {
if (!subCategories.containsKey(s.getKey())) {
subCategories.put(Algorithms.capitalizeFirstLetterAndLowercase(s.getKey()), s.getValue());
}
}