diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2015-03-16 21:26:32 +0100 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2015-03-16 21:26:32 +0100 |
commit | d0c4c4c236e37ca75ed8d7dee4b385b02b8603ca (patch) | |
tree | f53be02657f6d55a4a8e52994d86a141138bf84b /main | |
parent | 5a02b62470df9833e720bc9c9c2fcaeeb175305e (diff) | |
download | cgeo-d0c4c4c236e37ca75ed8d7dee4b385b02b8603ca.zip cgeo-d0c4c4c236e37ca75ed8d7dee4b385b02b8603ca.tar.gz cgeo-d0c4c4c236e37ca75ed8d7dee4b385b02b8603ca.tar.bz2 |
Temporarily comment out ignoring capabilities
See #4728 for details.
Diffstat (limited to 'main')
-rw-r--r-- | main/src/cgeo/geocaching/CacheDetailActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/CacheDetailActivity.java b/main/src/cgeo/geocaching/CacheDetailActivity.java index 244080b..758dc78 100644 --- a/main/src/cgeo/geocaching/CacheDetailActivity.java +++ b/main/src/cgeo/geocaching/CacheDetailActivity.java @@ -496,12 +496,16 @@ public class CacheDetailActivity extends AbstractViewPagerActivity<CacheDetailAc menu.findItem(R.id.menu_refresh).setVisible(cache != null && cache.isOffline()); menu.findItem(R.id.menu_gcvote).setVisible(cache != null && GCVote.isVotingPossible(cache)); menu.findItem(R.id.menu_checker).setVisible(cache != null && StringUtils.isNotEmpty(CheckerUtils.getCheckerUrl(cache))); + // Comment out ignoring capabilities for this release, as this feature needs to be polished and accessible from + // other places as well as undo-able. + /* if (cache != null) { final IConnector connector = ConnectorFactory.getConnector(cache); if (connector instanceof IgnoreCapability) { menu.findItem(R.id.menu_ignore).setVisible(((IgnoreCapability) connector).canIgnoreCache(cache)); } } + */ return super.onPrepareOptionsMenu(menu); } |