Wrong POI Multiselection after 1 selection

https://github.com/osmandapp/OsmAnd-Issues/issues/516
This commit is contained in:
androiddevkotlin 2021-03-11 18:57:18 +02:00
parent e1dab2db4c
commit e5bb46e88f

View file

@ -193,7 +193,8 @@ final class MapLayerMenuListener extends OnRowItemClick {
adapter.notifyDataSetChanged();
}
};
if (poiFiltersHelper.isShowingAnyPoi(wiki)) {
boolean isCategoryMultichoose = poiFiltersHelper.getSelectedPoiFilters(wiki).size() > 1;
if (isCategoryMultichoose) {
mapActivity.getMapLayers().showMultichoicePoiFilterDialog(mapActivity.getMapView(),
dismissListener);
} else {