From 2a7e5376da6b9c68d227eedb4073443e6a16d4dc Mon Sep 17 00:00:00 2001 From: sonora Date: Wed, 9 Dec 2015 21:14:29 +0100 Subject: [PATCH] Move Live updates below Manage files --- .../plus/activities/MapActivityActions.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index ff51b366d1..011667d67f 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -646,15 +646,7 @@ public class MapActivityActions implements DialogProvider { return false; } }).reg(); - optionsMenuHelper.item(R.string.download_live_updates).iconColor(R.drawable.ic_configure_screen_dark) - .listen(new OnContextMenuClick() { - @Override - public boolean onContextMenuClick(ArrayAdapter adapter, int itemId, int pos, boolean isChecked) { - Intent intent = new Intent(mapActivity, LiveUpdatesActivity.class); - mapActivity.startActivity(intent); - return false; - } - }).reg(); + String d = getString(R.string.index_settings); if (app.getDownloadThread().getIndexes().isDownloadedFromInternet) { List updt = app.getDownloadThread().getIndexes().getItemsToUpdate(); @@ -674,6 +666,15 @@ public class MapActivityActions implements DialogProvider { } }).reg(); + optionsMenuHelper.item(R.string.download_live_updates).iconColor(R.drawable.ic_configure_screen_dark) + .listen(new OnContextMenuClick() { + @Override + public boolean onContextMenuClick(ArrayAdapter adapter, int itemId, int pos, boolean isChecked) { + Intent intent = new Intent(mapActivity, LiveUpdatesActivity.class); + mapActivity.startActivity(intent); + return false; + } + }).reg(); optionsMenuHelper.item(R.string.prefs_plugins).iconColor(R.drawable.ic_extension_dark) .listen(new OnContextMenuClick() {