aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/src/cgeo/geocaching/Geocache.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java
index 7ca672f..931206a 100644
--- a/main/src/cgeo/geocaching/Geocache.java
+++ b/main/src/cgeo/geocaching/Geocache.java
@@ -843,7 +843,13 @@ public class Geocache implements ICache, IWaypoint {
}
public boolean showSize() {
- return !((isEventCache() || isVirtual()) && size == CacheSize.NOT_CHOSEN);
+ if (size == CacheSize.NOT_CHOSEN) {
+ return false;
+ }
+ if (isEventCache() || isVirtual()) {
+ return false;
+ }
+ return true;
}
public long getUpdated() {