From df6c0b4a90fed96a413a2c6a87d96c1998a40c68 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 27 Oct 2016 08:19:05 +0200 Subject: [PATCH] if a route is caculated, show distance in all app modes --- OsmAnd/src/net/osmand/plus/ApplicationMode.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/ApplicationMode.java b/OsmAnd/src/net/osmand/plus/ApplicationMode.java index 2e0c6000ed..78587d6c00 100644 --- a/OsmAnd/src/net/osmand/plus/ApplicationMode.java +++ b/OsmAnd/src/net/osmand/plus/ApplicationMode.java @@ -76,15 +76,15 @@ public class ApplicationMode { regWidgetAvailability("next_next_turn", exceptDefault); // right - regWidgetVisibility("intermediate_distance", exceptDefault); - regWidgetVisibility("distance", exceptDefault); + regWidgetVisibility("intermediate_distance", all); + regWidgetVisibility("distance", all); regWidgetVisibility("time", exceptDefault); regWidgetVisibility("speed", exceptPedestrianAndDefault); regWidgetVisibility("max_speed", CAR); regWidgetVisibility("altitude", pedestrianBicycle); regWidgetVisibility("gps_info", none); - regWidgetAvailability("intermediate_distance", exceptDefault); - regWidgetAvailability("distance", exceptDefault); + regWidgetAvailability("intermediate_distance", all); + regWidgetAvailability("distance", all); regWidgetAvailability("time", exceptDefault); regWidgetAvailability("map_marker_1st", none); regWidgetAvailability("map_marker_2nd", none);