diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-06-01 08:51:32 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-06-01 08:51:32 +0200 |
| commit | b0547c844d54fe9404e5f42805060867a33917c4 (patch) | |
| tree | 7ca895855875fbd25eb0edd8e91de1f7a11f06d0 /main | |
| parent | c45b94dacc18e706c82ecddda5bf51c9a418d79d (diff) | |
| download | cgeo-b0547c844d54fe9404e5f42805060867a33917c4.zip cgeo-b0547c844d54fe9404e5f42805060867a33917c4.tar.gz cgeo-b0547c844d54fe9404e5f42805060867a33917c4.tar.bz2 | |
#2809: don't load elevation by default
Diffstat (limited to 'main')
| -rw-r--r-- | main/src/cgeo/geocaching/Settings.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/Settings.java b/main/src/cgeo/geocaching/Settings.java index 58bae64..7a5db12 100644 --- a/main/src/cgeo/geocaching/Settings.java +++ b/main/src/cgeo/geocaching/Settings.java @@ -194,7 +194,7 @@ public final class Settings { e.putInt(KEY_VERSION, old.getInt(KEY_VERSION, 0)); e.putBoolean(KEY_LOAD_DESCRIPTION, 0 != old.getInt(KEY_LOAD_DESCRIPTION, 1)); e.putBoolean(KEY_RATING_WANTED, old.getBoolean(KEY_RATING_WANTED, true)); - e.putBoolean(KEY_ELEVATION_WANTED, old.getBoolean(KEY_ELEVATION_WANTED, true)); + e.putBoolean(KEY_ELEVATION_WANTED, old.getBoolean(KEY_ELEVATION_WANTED, false)); e.putBoolean(KEY_FRIENDLOGS_WANTED, old.getBoolean(KEY_FRIENDLOGS_WANTED, true)); e.putBoolean(KEY_USE_ENGLISH, old.getBoolean(KEY_USE_ENGLISH, false)); e.putBoolean(KEY_USE_COMPASS, 0 != old.getInt(KEY_USE_COMPASS, 1)); @@ -792,7 +792,7 @@ public final class Settings { } public static boolean isElevationWanted() { - return sharedPrefs.getBoolean(KEY_ELEVATION_WANTED, true); + return sharedPrefs.getBoolean(KEY_ELEVATION_WANTED, false); } public static void setElevationWanted(final boolean elevationWanted) { |
