aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo')
-rw-r--r--main/src/cgeo/geocaching/CacheMenuHandler.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/CacheMenuHandler.java b/main/src/cgeo/geocaching/CacheMenuHandler.java
index 6937bac..9c8af50 100644
--- a/main/src/cgeo/geocaching/CacheMenuHandler.java
+++ b/main/src/cgeo/geocaching/CacheMenuHandler.java
@@ -15,7 +15,7 @@ import android.view.MenuItem;
/**
* Shared menu handling for all activities having menu items related to a cache. <br>
* TODO: replace by a fragment
- *
+ *
*/
public class CacheMenuHandler extends AbstractUIFactory {
@@ -61,9 +61,8 @@ public class CacheMenuHandler extends AbstractUIFactory {
if (shareActionProvider == null) {
cache.shareCache(activity, res);
return true;
- } else {
- return false;
}
+ return false;
case R.id.menu_calendar:
CalendarAddon.addToCalendarWithIntent(activity, cache);
return true;