diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java index 24144db90a..35943e4028 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java @@ -397,7 +397,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { @Override public void updateLayers(OsmandMapTileView mapView, MapActivity activity) { if(app.getSettings().SHOW_RECORDINGS.get()) { - if(audioNotesLayers == null) { + if(audioNotesLayer == null) { registerLayers(activity); } else if(!mapView.getLayers().contains(audioNotesLayer)) { mapView.addLayer(audioNotesLayer, 3.5f);