aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-09-04 00:37:46 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-09-04 00:38:01 +0200
commitfeb3a239c816c5e5a49a47a2fc67fbdff9ca96f6 (patch)
treeb53943971fbe740cdf41b30866c7d298e2fa4034 /main
parent35053ba44583b368ea876c20dbc8f69741382e4d (diff)
downloadcgeo-feb3a239c816c5e5a49a47a2fc67fbdff9ca96f6.zip
cgeo-feb3a239c816c5e5a49a47a2fc67fbdff9ca96f6.tar.gz
cgeo-feb3a239c816c5e5a49a47a2fc67fbdff9ca96f6.tar.bz2
Refactoring: simplify logical expression
Diffstat (limited to 'main')
-rw-r--r--main/src/cgeo/geocaching/maps/CGeoMap.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java
index aa9ed1b..389ea8b 100644
--- a/main/src/cgeo/geocaching/maps/CGeoMap.java
+++ b/main/src/cgeo/geocaching/maps/CGeoMap.java
@@ -378,7 +378,7 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto
mapStateIntent = extras.getIntArray(EXTRAS_MAPSTATE);
mapTitle = extras.getString(EXTRAS_MAP_TITLE);
- Settings.setLiveMap(mapMode == MapMode.LIVE_ONLINE ? true : false);
+ Settings.setLiveMap(mapMode == MapMode.LIVE_ONLINE);
}
else {
mapMode = Settings.isLiveMap() ? MapMode.LIVE_ONLINE : MapMode.LIVE_OFFLINE;