diff options
| author | Bananeweizen <Bananeweizen@gmx.de> | 2012-12-30 10:54:43 +0100 |
|---|---|---|
| committer | Bananeweizen <Bananeweizen@gmx.de> | 2012-12-30 10:54:43 +0100 |
| commit | aba2786ec38c1653b92c3affd88d2060c1d6b8df (patch) | |
| tree | 5c71104761fd63763fa6835a10e0a480372fab64 /main/src/cgeo/geocaching/apps/cache/CacheBeaconApp.java | |
| parent | cb94f1f020596be019cc4c000a93a318600d7f37 (diff) | |
| download | cgeo-aba2786ec38c1653b92c3affd88d2060c1d6b8df.zip cgeo-aba2786ec38c1653b92c3affd88d2060c1d6b8df.tar.gz cgeo-aba2786ec38c1653b92c3affd88d2060c1d6b8df.tar.bz2 | |
fix #2054: Navigate options are different
Diffstat (limited to 'main/src/cgeo/geocaching/apps/cache/CacheBeaconApp.java')
| -rw-r--r-- | main/src/cgeo/geocaching/apps/cache/CacheBeaconApp.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/apps/cache/CacheBeaconApp.java b/main/src/cgeo/geocaching/apps/cache/CacheBeaconApp.java index 6e7cdca..4ba336f 100644 --- a/main/src/cgeo/geocaching/apps/cache/CacheBeaconApp.java +++ b/main/src/cgeo/geocaching/apps/cache/CacheBeaconApp.java @@ -6,15 +6,12 @@ import cgeo.geocaching.enumerations.CacheAttribute; public class CacheBeaconApp extends AbstractGeneralApp { - protected CacheBeaconApp() { + public CacheBeaconApp() { super(getString(R.string.cache_menu_cachebeacon), "de.fun2code.android.cachebeacon"); } @Override public boolean isEnabled(cgCache cache) { - if (cache == null) { - return false; - } return cache.hasAttribute(CacheAttribute.WIRELESS_BEACON, true); } |
