diff --git a/OsmAnd/src/net/osmand/plus/OsmandSettings.java b/OsmAnd/src/net/osmand/plus/OsmandSettings.java index 727a7b163b..96bf1087ad 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandSettings.java +++ b/OsmAnd/src/net/osmand/plus/OsmandSettings.java @@ -2579,6 +2579,7 @@ public class OsmandSettings { new BooleanPreference("show_street_name", false).makeProfile(); { + SHOW_STREET_NAME.setModeDefaultValue(ApplicationMode.DEFAULT, false); SHOW_STREET_NAME.setModeDefaultValue(ApplicationMode.CAR, true); SHOW_STREET_NAME.setModeDefaultValue(ApplicationMode.BICYCLE, false); SHOW_STREET_NAME.setModeDefaultValue(ApplicationMode.PEDESTRIAN, false); diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java index 56d8d588b0..e4700131e8 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java @@ -322,8 +322,7 @@ public class MapInfoWidgetsFactory { } } - } else if (settings.getApplicationMode() != ApplicationMode.DEFAULT && - map.getMapViewTrackingUtilities().isMapLinkedToLocation() && + } else if (map.getMapViewTrackingUtilities().isMapLinkedToLocation() && settings.SHOW_STREET_NAME.get()) { RouteDataObject rt = locationProvider.getLastKnownRouteSegment(); if (rt != null) {