diff --git a/src/Map.java b/src/Map.java index 56049d0..b53abc2 100644 --- a/src/Map.java +++ b/src/Map.java @@ -26,7 +26,7 @@ public double getLatitude() { return latitude.getValue(); } - public void setAutoUpdateEnabled(boolean enabled) { - presenter.setAutoUpdateEnabled(enabled); + public void setAutoUpdate(boolean autoUpdate) { + presenter.setAutoUpdate(autoUpdate); } } \ No newline at end of file