diff options
| -rw-r--r-- | main/src/cgeo/geocaching/settings/Settings.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/settings/Settings.java b/main/src/cgeo/geocaching/settings/Settings.java index 4713594..3bbfe94 100644 --- a/main/src/cgeo/geocaching/settings/Settings.java +++ b/main/src/cgeo/geocaching/settings/Settings.java @@ -657,7 +657,7 @@ public class Settings { * @return zoom used for the (live) map */ private static int getMapZoom() { - return Math.min(getInt(R.string.pref_lastmapzoom, 14), INITIAL_MAP_ZOOM_LIMIT); + return Math.max(getInt(R.string.pref_lastmapzoom, 14), INITIAL_MAP_ZOOM_LIMIT); } private static void setMapZoom(final int mapZoomLevel) { @@ -668,7 +668,7 @@ public class Settings { * @return zoom used for the map of a single cache */ private static int getCacheZoom() { - return Math.min(getInt(R.string.pref_cache_zoom, 14), INITIAL_MAP_ZOOM_LIMIT); + return Math.max(getInt(R.string.pref_cache_zoom, 14), INITIAL_MAP_ZOOM_LIMIT); } private static void setCacheZoom(final int zoomLevel) { |
