Update OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java
This commit is contained in:
parent
13d3fed817
commit
7f34b41ba7
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
||||||
@Override
|
@Override
|
||||||
public void updateLayers(OsmandMapTileView mapView, MapActivity activity) {
|
public void updateLayers(OsmandMapTileView mapView, MapActivity activity) {
|
||||||
if(app.getSettings().SHOW_RECORDINGS.get()) {
|
if(app.getSettings().SHOW_RECORDINGS.get()) {
|
||||||
if(audioNotesLayers == null) {
|
if(audioNotesLayer == null) {
|
||||||
registerLayers(activity);
|
registerLayers(activity);
|
||||||
} else if(!mapView.getLayers().contains(audioNotesLayer)) {
|
} else if(!mapView.getLayers().contains(audioNotesLayer)) {
|
||||||
mapView.addLayer(audioNotesLayer, 3.5f);
|
mapView.addLayer(audioNotesLayer, 3.5f);
|
||||||
|
|
Loading…
Reference in a new issue