Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f42ea1ef9a
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ public class OsMoPlugin extends OsmandPlugin implements MonitoringInfoControlSer
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addMonitorActions(ContextMenuAdapter qa, MonitoringInfoControl li, final OsmandMapTileView view) {
|
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)
|
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)
|
.icon(off ? R.drawable.monitoring_rec_inactive : R.drawable.monitoring_rec_big)
|
||||||
.listen(new OnContextMenuClick() {
|
.listen(new OnContextMenuClick() {
|
||||||
|
|
Loading…
Reference in a new issue