diff options
| author | blafoo <github@blafoo.de> | 2011-10-13 22:25:56 +0200 |
|---|---|---|
| committer | blafoo <github@blafoo.de> | 2011-10-13 23:29:21 +0200 |
| commit | 6d6e123e432a509b879a27bb9d08f37d197ab5ec (patch) | |
| tree | 2b9a4e64da51cdd611d232a53751dd3b2b039a9a /main/src/cgeo/geocaching/cgBase.java | |
| parent | bb3ed391288dd80295c32da2baf1df89f562ed2d (diff) | |
| download | cgeo-6d6e123e432a509b879a27bb9d08f37d197ab5ec.zip cgeo-6d6e123e432a509b879a27bb9d08f37d197ab5ec.tar.gz cgeo-6d6e123e432a509b879a27bb9d08f37d197ab5ec.tar.bz2 | |
Additional details introduced
Diffstat (limited to 'main/src/cgeo/geocaching/cgBase.java')
| -rw-r--r-- | main/src/cgeo/geocaching/cgBase.java | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/main/src/cgeo/geocaching/cgBase.java b/main/src/cgeo/geocaching/cgBase.java index 6039587..899f806 100644 --- a/main/src/cgeo/geocaching/cgBase.java +++ b/main/src/cgeo/geocaching/cgBase.java @@ -1507,17 +1507,19 @@ public class cgBase { } } - if (cache.coords != null) { - cache.elevation = getElevation(cache.coords); - } + if (Settings.isAdditionalDetails()) { + if (cache.coords != null) { + cache.elevation = getElevation(cache.coords); + } - sendLoadProgressDetail(handler, R.string.cache_dialog_loading_details_status_gcvote); + sendLoadProgressDetail(handler, R.string.cache_dialog_loading_details_status_gcvote); - final cgRating rating = GCVote.getRating(cache.guid, cache.geocode); - if (rating != null) { - cache.rating = rating.rating; - cache.votes = rating.votes; - cache.myVote = rating.myVote; + final cgRating rating = GCVote.getRating(cache.guid, cache.geocode); + if (rating != null) { + cache.rating = rating.rating; + cache.votes = rating.votes; + cache.myVote = rating.myVote; + } } cache.updated = System.currentTimeMillis(); |
