Fix #8510
This commit is contained in:
parent
18f7bc6c92
commit
2982bebf71
1 changed files with 3 additions and 1 deletions
|
@ -816,9 +816,11 @@ public class MapControlsLayer extends OsmandMapLayer {
|
|||
compassHud.forceHideCompass = forceHideCompass;
|
||||
compassHud.updateVisibility(!forceHideCompass && shouldShowCompass());
|
||||
|
||||
if (layersHud.setIconResId(settings.getApplicationMode().getMapIconRes())) {
|
||||
ApplicationMode appMode = settings.getApplicationMode();
|
||||
if (layersHud.setIconResId(appMode.getIconRes())) {
|
||||
layersHud.update(app, isNight);
|
||||
}
|
||||
layersHud.setIconColorId(appMode.getIconColorInfo().getColor(isNight));
|
||||
layersHud.updateVisibility(!routeDialogOpened && !trackDialogOpened && !isInMeasurementToolMode() && !isInPlanRouteMode()
|
||||
&& !contextMenuOpened && !isInChoosingRoutesMode() && !isInWaypointsChoosingMode());
|
||||
quickSearchHud.updateVisibility(!routeDialogOpened && !trackDialogOpened && !isInMeasurementToolMode() && !isInPlanRouteMode()
|
||||
|
|
Loading…
Reference in a new issue