aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-05-31 08:52:30 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-05-31 08:52:30 +0200
commit1bed89fad9e1cc8d7c5435aa17324d9122b69481 (patch)
tree4689bd2d6fa7b5f663f4be8a1d61d3679853a91d /main/src
parent2ee1f435a08fb095468ac3036114bd944eb642a1 (diff)
downloadcgeo-1bed89fad9e1cc8d7c5435aa17324d9122b69481.zip
cgeo-1bed89fad9e1cc8d7c5435aa17324d9122b69481.tar.gz
cgeo-1bed89fad9e1cc8d7c5435aa17324d9122b69481.tar.bz2
fix #2809: Load long description automatically
Diffstat (limited to 'main/src')
-rw-r--r--main/src/cgeo/geocaching/Settings.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/Settings.java b/main/src/cgeo/geocaching/Settings.java
index 65283da..58bae64 100644
--- a/main/src/cgeo/geocaching/Settings.java
+++ b/main/src/cgeo/geocaching/Settings.java
@@ -192,7 +192,7 @@ public final class Settings {
e.putString(KEY_TWITTER_TOKEN_SECRET, old.getString(KEY_TWITTER_TOKEN_SECRET, null));
e.putString(KEY_TWITTER_TOKEN_PUBLIC, old.getString(KEY_TWITTER_TOKEN_PUBLIC, null));
e.putInt(KEY_VERSION, old.getInt(KEY_VERSION, 0));
- e.putBoolean(KEY_LOAD_DESCRIPTION, 0 != old.getInt(KEY_LOAD_DESCRIPTION, 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_FRIENDLOGS_WANTED, old.getBoolean(KEY_FRIENDLOGS_WANTED, true));
@@ -764,7 +764,7 @@ public final class Settings {
}
public static boolean isAutoLoadDescription() {
- return sharedPrefs.getBoolean(KEY_LOAD_DESCRIPTION, false);
+ return sharedPrefs.getBoolean(KEY_LOAD_DESCRIPTION, true);
}
public static void setAutoLoadDesc(final boolean autoLoad) {