aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Alorent <github@kumy.net>2015-09-12 19:13:21 +0200
committerMathieu Alorent <github@kumy.net>2015-09-14 21:01:40 +0200
commit1fb247312029f2678643effc628968fade34170b (patch)
treebd44eb4d7d2f74e62ea9250a7e278abe4a5a0f46
parentfa4b053847f7b3154ab236690b2b873e2bef6864 (diff)
downloadcgeo-1fb247312029f2678643effc628968fade34170b.zip
cgeo-1fb247312029f2678643effc628968fade34170b.tar.gz
cgeo-1fb247312029f2678643effc628968fade34170b.tar.bz2
Fix #5190: Missing "Offline" text in lists
-rw-r--r--main/src/cgeo/geocaching/utils/Formatter.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/utils/Formatter.java b/main/src/cgeo/geocaching/utils/Formatter.java
index 993d5c2..99305c2 100644
--- a/main/src/cgeo/geocaching/utils/Formatter.java
+++ b/main/src/cgeo/geocaching/utils/Formatter.java
@@ -149,6 +149,9 @@ public final class Formatter {
if (cache.isPremiumMembersOnly()) {
infos.add(CgeoApplication.getInstance().getString(R.string.cache_premium));
}
+ if (cache.isOffline()) {
+ infos.add(CgeoApplication.getInstance().getString(R.string.cache_offline));
+ }
return StringUtils.join(infos, SEPARATOR);
}