diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-01-06 19:40:06 +0100 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-01-06 19:40:06 +0100 |
| commit | 55447b57ab4c34c28e8af900c2ec8f74918f111c (patch) | |
| tree | b67e1ed2968acdb7df6c391b3e304df82759a986 /main/src/cgeo/geocaching/CacheDetailActivity.java | |
| parent | 4302a5521d410a3fb9f387dbedf0636d6f536f5a (diff) | |
| download | cgeo-55447b57ab4c34c28e8af900c2ec8f74918f111c.zip cgeo-55447b57ab4c34c28e8af900c2ec8f74918f111c.tar.gz cgeo-55447b57ab4c34c28e8af900c2ec8f74918f111c.tar.bz2 | |
remove outdated icon update message
* otherwise it is shown for OC caches incorrectly
* users should have migrated all old GC caches since a long time
Diffstat (limited to 'main/src/cgeo/geocaching/CacheDetailActivity.java')
| -rw-r--r-- | main/src/cgeo/geocaching/CacheDetailActivity.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/main/src/cgeo/geocaching/CacheDetailActivity.java b/main/src/cgeo/geocaching/CacheDetailActivity.java index 2b64924..03759d0 100644 --- a/main/src/cgeo/geocaching/CacheDetailActivity.java +++ b/main/src/cgeo/geocaching/CacheDetailActivity.java @@ -905,9 +905,7 @@ public class CacheDetailActivity extends AbstractViewPagerActivity<CacheDetailAc private ViewGroup attributeDescriptionsLayout; // layout for attribute descriptions private boolean attributesShowAsIcons = true; // default: show icons /** - * True, if the cache was imported with an older version of c:geo. - * These older versions parsed the attribute description from the tooltip in the web - * page and put them into the DB. No icons can be matched for these. + * If the cache is from a non GC source, it might be without icons. Disable switching in those cases. */ private boolean noAttributeIconsFound = false; private int attributeBoxMaxWidth; @@ -1076,10 +1074,6 @@ public class CacheDetailActivity extends AbstractViewPagerActivity<CacheDetailAc buffer.append(attributeName); } - if (noAttributeIconsFound) { - buffer.append("\n\n").append(res.getString(R.string.cache_attributes_no_icons)); - } - attribView.setText(buffer); return descriptions; |
