diff options
| author | SammysHP <sven@sammyshp.de> | 2011-07-31 14:17:39 +0200 |
|---|---|---|
| committer | SammysHP <sven@sammyshp.de> | 2011-07-31 14:17:39 +0200 |
| commit | 897d2dd7c0754e12ca95a8d13e3c26bd0b41b45f (patch) | |
| tree | 2db825bc0ba7205a356a5605819165982755057c /src/cgeo/geocaching/cgSettings.java | |
| parent | 9a4fa0f9305867a80e2d72a335ccd9078a2e72a7 (diff) | |
| download | cgeo-897d2dd7c0754e12ca95a8d13e3c26bd0b41b45f.zip cgeo-897d2dd7c0754e12ca95a8d13e3c26bd0b41b45f.tar.gz cgeo-897d2dd7c0754e12ca95a8d13e3c26bd0b41b45f.tar.bz2 | |
Add auto-visit for all trackables (in settings)
Diffstat (limited to 'src/cgeo/geocaching/cgSettings.java')
| -rw-r--r-- | src/cgeo/geocaching/cgSettings.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cgeo/geocaching/cgSettings.java b/src/cgeo/geocaching/cgSettings.java index b88de0b..185ac98 100644 --- a/src/cgeo/geocaching/cgSettings.java +++ b/src/cgeo/geocaching/cgSettings.java @@ -84,8 +84,9 @@ public class cgSettings { public String cacheType = null; public String tokenPublic = null; public String tokenSecret = null; - public String webDeviceName = null; - public String webDeviceCode = null; + public String webDeviceName = null; + public String webDeviceCode = null; + public boolean autovisit = false; // usable values public static final String tag = "c:geo"; @@ -153,6 +154,7 @@ public class cgSettings { mapProvider = mapSourceEnum.fromInt(prefs.getInt("mapsource", 0)); webDeviceName = prefs.getString("webDeviceName", null); webDeviceCode = prefs.getString("webDeviceCode", null); + autovisit = prefs.getBoolean("autovisit", false); setLanguage(useEnglish); } |
