Move toggle osm notes action to configure map section
This commit is contained in:
parent
66a77c7a18
commit
006fb14afb
1 changed files with 8 additions and 4 deletions
|
@ -90,9 +90,7 @@ public class QuickActionFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OsmandPlugin.getEnabledPlugin(OsmEditingPlugin.class) != null) {
|
if (OsmandPlugin.getEnabledPlugin(OsmEditingPlugin.class) != null) {
|
||||||
|
|
||||||
quickActions.add(new AddPOIAction());
|
quickActions.add(new AddPOIAction());
|
||||||
quickActions.add(new ShowHideOSMBugAction());
|
|
||||||
quickActions.add(new AddOSMBugAction());
|
quickActions.add(new AddOSMBugAction());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,13 +106,19 @@ public class QuickActionFactory {
|
||||||
quickActions.add(new QuickAction(0, R.string.quick_action_add_configure_map));
|
quickActions.add(new QuickAction(0, R.string.quick_action_add_configure_map));
|
||||||
|
|
||||||
QuickAction favorites = new ShowHideFavoritesAction();
|
QuickAction favorites = new ShowHideFavoritesAction();
|
||||||
|
|
||||||
if (!favorites.hasInstanceInList(active)) {
|
if (!favorites.hasInstanceInList(active)) {
|
||||||
quickActions.add(favorites);
|
quickActions.add(favorites);
|
||||||
}
|
}
|
||||||
|
|
||||||
quickActions.add(new ShowHidePoiAction());
|
quickActions.add(new ShowHidePoiAction());
|
||||||
|
|
||||||
|
if (OsmandPlugin.getEnabledPlugin(OsmEditingPlugin.class) != null) {
|
||||||
|
QuickAction showHideOSMBugAction = new ShowHideOSMBugAction();
|
||||||
|
if (!showHideOSMBugAction.hasInstanceInList(active)) {
|
||||||
|
quickActions.add(showHideOSMBugAction);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
quickActions.add(new MapStyleAction());
|
quickActions.add(new MapStyleAction());
|
||||||
|
|
||||||
if (OsmandPlugin.getEnabledPlugin(OsmandRasterMapsPlugin.class) != null) {
|
if (OsmandPlugin.getEnabledPlugin(OsmandRasterMapsPlugin.class) != null) {
|
||||||
|
|
Loading…
Reference in a new issue