diff --git a/android/src/com/mapswithme/maps/widget/placepage/ElevationProfileViewRenderer.java b/android/src/com/mapswithme/maps/widget/placepage/ElevationProfileViewRenderer.java index c01111b0a0..5d78b2d23f 100644 --- a/android/src/com/mapswithme/maps/widget/placepage/ElevationProfileViewRenderer.java +++ b/android/src/com/mapswithme/maps/widget/placepage/ElevationProfileViewRenderer.java @@ -20,6 +20,7 @@ public class ElevationProfileViewRenderer implements PlacePageViewRenderer MAX_DIFFICULTY_LEVEL; + boolean invalidDifficulty = level > MAX_DIFFICULTY_LEVEL || level == UNKNOWN_DIFFICULTY; UiUtils.hideIf(invalidDifficulty, mDifficultyContainer); UiUtils.hideIf(invalidDifficulty, mMediumDivider);