From fa16d42f986a0c54759ebd1551122f2c9f58bd83 Mon Sep 17 00:00:00 2001 From: sonora Date: Wed, 11 Jan 2017 20:23:30 +0100 Subject: [PATCH] change order of Qucik action: Show POI is tbe more frquently needed (travel guide, etc.) --- .../plus/quickaction/QuickActionFactory.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/quickaction/QuickActionFactory.java b/OsmAnd/src/net/osmand/plus/quickaction/QuickActionFactory.java index 4e00abf656..0efc930290 100644 --- a/OsmAnd/src/net/osmand/plus/quickaction/QuickActionFactory.java +++ b/OsmAnd/src/net/osmand/plus/quickaction/QuickActionFactory.java @@ -163,14 +163,6 @@ public class QuickActionFactory { } quickActions.add(new QuickAction(0, R.string.quick_action_add_configure_map)); - quickActions.add(new MapStyleAction()); - - if (OsmandPlugin.getEnabledPlugin(OsmandRasterMapsPlugin.class) != null) { - - quickActions.add(new MapSourceAction()); - quickActions.add(new MapOverlayAction()); - quickActions.add(new MapUnderlayAction()); - } QuickAction favorites = new ShowHideFavoritesAction(); @@ -180,6 +172,15 @@ public class QuickActionFactory { quickActions.add(new ShowHidePoiAction()); + quickActions.add(new MapStyleAction()); + + if (OsmandPlugin.getEnabledPlugin(OsmandRasterMapsPlugin.class) != null) { + + quickActions.add(new MapSourceAction()); + quickActions.add(new MapOverlayAction()); + quickActions.add(new MapUnderlayAction()); + } + QuickAction voice = new NavigationVoiceAction(); if (!voice.hasInstanceInList(active)) {