From 24166ed235c99ac2a0c3909bb63096719a9b1e90 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Mon, 5 May 2014 02:20:01 +0200 Subject: [PATCH] Update OsMoPlugin.java --- OsmAnd/src/net/osmand/plus/osmo/OsMoPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/osmo/OsMoPlugin.java b/OsmAnd/src/net/osmand/plus/osmo/OsMoPlugin.java index e74e1b29a9..72d32e74fc 100644 --- a/OsmAnd/src/net/osmand/plus/osmo/OsMoPlugin.java +++ b/OsmAnd/src/net/osmand/plus/osmo/OsMoPlugin.java @@ -80,7 +80,7 @@ public class OsMoPlugin extends OsmandPlugin implements MonitoringInfoControlSer @Override public void addMonitorActions(ContextMenuAdapter qa, MonitoringInfoControl li, final OsmandMapTileView view) { - final boolean off = service.isActive(); + final boolean off = !service.isActive(); qa.item(off ? R.string.osmodroid_mode_off : R.string.osmodroid_mode_on) .icon(off ? R.drawable.monitoring_rec_inactive : R.drawable.monitoring_rec_big) .listen(new OnContextMenuClick() {