small fixes

This commit is contained in:
Nazar-Kutz 2020-06-01 17:32:29 +03:00
parent c1228dc82f
commit 74a41eb525

View file

@ -207,7 +207,7 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
public void onPrepareBufferImage(Canvas canvas, RotatedTileBox tileBox, DrawSettings settings) {
Set<PoiUIFilter> selectedPoiFilters = app.getPoiFilters().getSelectedPoiFilters();
if (this.filters != selectedPoiFilters) {
this.filters = selectedPoiFilters;
this.filters = selectedPoiFilters;
data.clearCache();
}