use map icon resource

This commit is contained in:
Nazar-Kutz 2020-04-30 12:24:34 +03:00
parent 2982bebf71
commit ec1533434f

View file

@ -817,7 +817,7 @@ public class MapControlsLayer extends OsmandMapLayer {
compassHud.updateVisibility(!forceHideCompass && shouldShowCompass()); compassHud.updateVisibility(!forceHideCompass && shouldShowCompass());
ApplicationMode appMode = settings.getApplicationMode(); ApplicationMode appMode = settings.getApplicationMode();
if (layersHud.setIconResId(appMode.getIconRes())) { if (layersHud.setIconResId(appMode.getMapIconRes())) {
layersHud.update(app, isNight); layersHud.update(app, isNight);
} }
layersHud.setIconColorId(appMode.getIconColorInfo().getColor(isNight)); layersHud.setIconColorId(appMode.getIconColorInfo().getColor(isNight));