aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/enumerations
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2014-03-02 23:50:53 +0100
committerSamuel Tardieu <sam@rfc1149.net>2014-03-02 23:50:53 +0100
commit27f24a9a089308901a91a58b65e9c4bf71c1b6b4 (patch)
tree55ff92670c53f9d2962105f5ec03fc4fe90db36d /main/src/cgeo/geocaching/enumerations
parentb45708eba88113a4120a295926b0f7875be46947 (diff)
parent2bc6d47bc99c5bd8eb3c872aebb0ba85d9f74702 (diff)
downloadcgeo-27f24a9a089308901a91a58b65e9c4bf71c1b6b4.zip
cgeo-27f24a9a089308901a91a58b65e9c4bf71c1b6b4.tar.gz
cgeo-27f24a9a089308901a91a58b65e9c4bf71c1b6b4.tar.bz2
Merge branch 'release' into upstream
Diffstat (limited to 'main/src/cgeo/geocaching/enumerations')
-rw-r--r--main/src/cgeo/geocaching/enumerations/LogType.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/enumerations/LogType.java b/main/src/cgeo/geocaching/enumerations/LogType.java
index b8908af..fa65b71 100644
--- a/main/src/cgeo/geocaching/enumerations/LogType.java
+++ b/main/src/cgeo/geocaching/enumerations/LogType.java
@@ -90,6 +90,11 @@ public enum LogType {
}
public static LogType getByIconName(final String imageType) {
+ // Special case for post reviewer note, which appears sometimes as 18.png (in individual entries) or as 68.png
+ // (in logs counts).
+ if ("68".equals(imageType)) {
+ return POST_REVIEWER_NOTE;
+ }
final LogType result = imageType != null ? LogType.FIND_BY_ICONNAME.get(imageType.toLowerCase(Locale.US).trim()) : null;
if (result == null) {
return UNKNOWN;