diff options
| -rw-r--r-- | main/src/cgeo/geocaching/enumerations/LogType.java | 5 |
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 edd39ae..3240e8f 100644 --- a/main/src/cgeo/geocaching/enumerations/LogType.java +++ b/main/src/cgeo/geocaching/enumerations/LogType.java @@ -87,6 +87,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; |
