diff options
author | rsudev <rasch@munin-soft.de> | 2012-02-24 21:40:58 +0100 |
---|---|---|
committer | rsudev <rasch@munin-soft.de> | 2012-02-24 21:58:03 +0100 |
commit | a222cdadfe9318dd4160c11bcc6143a3b2849ede (patch) | |
tree | 6974feb922eabe56910a82aece53808db9fbc720 /main/src/cgeo/geocaching | |
parent | 6c1962fa89e672ce4edc7f1a5d99044d1f318d49 (diff) | |
download | cgeo-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.java | 4 |
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); |