aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/src/cgeo/geocaching/CacheDetailActivity.java13
1 files changed, 1 insertions, 12 deletions
diff --git a/main/src/cgeo/geocaching/CacheDetailActivity.java b/main/src/cgeo/geocaching/CacheDetailActivity.java
index f07155d..55b8861 100644
--- a/main/src/cgeo/geocaching/CacheDetailActivity.java
+++ b/main/src/cgeo/geocaching/CacheDetailActivity.java
@@ -579,7 +579,7 @@ public class CacheDetailActivity extends AbstractActivity {
cache.openInBrowser(this);
return true;
} else if (menuItem == MENU_CACHES_AROUND) {
- cachesAround();
+ cgeocaches.startActivityCachesAround(this, cache.getCoords());
return true;
} else if (menuItem == MENU_CALENDAR) {
addToCalendarWithIntent();
@@ -777,17 +777,6 @@ public class CacheDetailActivity extends AbstractActivity {
}
}
- /**
- * Starts activity to search for caches near this cache.
- *
- * Also finishes this activity.
- */
- private void cachesAround() {
- cgeocaches.startActivityCachesAround(this, cache.getCoords());
-
- finish();
- }
-
private void addToCalendarWithIntent() {
final boolean calendarAddOnAvailable = cgBase.isIntentAvailable(this, ICalendar.INTENT, Uri.parse(ICalendar.URI_SCHEME + "://" + ICalendar.URI_HOST));