aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2012-02-24 21:40:58 +0100
committerrsudev <rasch@munin-soft.de>2012-02-24 21:58:03 +0100
commita222cdadfe9318dd4160c11bcc6143a3b2849ede (patch)
tree6974feb922eabe56910a82aece53808db9fbc720 /main/src/cgeo/geocaching
parent6c1962fa89e672ce4edc7f1a5d99044d1f318d49 (diff)
downloadcgeo-a222cdadfe9318dd4160c11bcc6143a3b2849ede.zip
cgeo-a222cdadfe9318dd4160c11bcc6143a3b2849ede.tar.gz
cgeo-a222cdadfe9318dd4160c11bcc6143a3b2849ede.tar.bz2
Fixes #1175, Archived caches displayed as active
- Archived caches are now displayed as disabled
Diffstat (limited to 'main/src/cgeo/geocaching')
-rw-r--r--main/src/cgeo/geocaching/maps/CGeoMap.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java
index 434eb05..5ff26e0 100644
--- a/main/src/cgeo/geocaching/maps/CGeoMap.java
+++ b/main/src/cgeo/geocaching/maps/CGeoMap.java
@@ -1846,7 +1846,7 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto
int hashcode = new HashCodeBuilder()
.append(cache.isReliableLatLon())
.append(cache.getType().id)
- .append(cache.isDisabled())
+ .append(cache.isDisabled() || cache.isArchived())
.append(cache.isOwn())
.append(cache.isFound())
.append(cache.hasUserModifiedCoords())
@@ -1866,7 +1866,7 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto
// background: disabled or not
Drawable marker = getResources().getDrawable(R.drawable.marker);
- if (cache.isDisabled()) {
+ if (cache.isDisabled() || cache.isArchived()) {
marker = getResources().getDrawable(R.drawable.marker_disabled);
}
layers.add(marker);