From feb3a239c816c5e5a49a47a2fc67fbdff9ca96f6 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Tue, 4 Sep 2012 00:37:46 +0200 Subject: Refactoring: simplify logical expression --- main/src/cgeo/geocaching/maps/CGeoMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') 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; -- cgit v1.1