Fix
This commit is contained in:
parent
d6575cf663
commit
5315e14227
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public class NauticalMapsPlugin extends OsmandPlugin {
|
||||||
previousRenderer = app.getSettings().RENDERER.get();
|
previousRenderer = app.getSettings().RENDERER.get();
|
||||||
app.getSettings().RENDERER.set(RendererRegistry.NAUTICAL_RENDER);
|
app.getSettings().RENDERER.set(RendererRegistry.NAUTICAL_RENDER);
|
||||||
if(!app.getResourceManager().getIndexFileNames().containsKey("World_seamarks"+
|
if(!app.getResourceManager().getIndexFileNames().containsKey("World_seamarks"+
|
||||||
"_" +IndexConstants.BINARY_MAP_VERSION + IndexConstants.BINARY_MAP_INDEX_EXT)){
|
IndexConstants.BINARY_MAP_INDEX_EXT)){
|
||||||
Builder dlg = new AlertDialog.Builder(activity);
|
Builder dlg = new AlertDialog.Builder(activity);
|
||||||
dlg.setMessage(net.osmand.plus.R.string.nautical_maps_missing);
|
dlg.setMessage(net.osmand.plus.R.string.nautical_maps_missing);
|
||||||
dlg.setPositiveButton(R.string.default_buttons_ok, new OnClickListener() {
|
dlg.setPositiveButton(R.string.default_buttons_ok, new OnClickListener() {
|
||||||
|
|
Loading…
Reference in a new issue