From 31608f742a36ea059ca26d55c802bfb0af43d3c4 Mon Sep 17 00:00:00 2001 From: Dmitry Donskoy Date: Wed, 11 Sep 2019 09:43:47 +0300 Subject: [PATCH] [android] Fixed review notes https://github.com/mapsme/omim/pull/11668#discussion_r322845067 --- .../mapswithme/maps/NavigationButtonsAnimationController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/src/com/mapswithme/maps/NavigationButtonsAnimationController.java b/android/src/com/mapswithme/maps/NavigationButtonsAnimationController.java index 94b6e5aff2..e30b90f48b 100644 --- a/android/src/com/mapswithme/maps/NavigationButtonsAnimationController.java +++ b/android/src/com/mapswithme/maps/NavigationButtonsAnimationController.java @@ -130,7 +130,9 @@ class NavigationButtonsAnimationController else if (mZoomIn.getVisibility() == View.INVISIBLE && isViewInsideLimits(mZoomIn)) { - UiUtils.show(mZoomIn, mZoomOut, mCrownView); + UiUtils.show(mZoomIn, mZoomOut); + if (mCrownView != null) + UiUtils.show(mCrownView); if (mTranslationListener != null) mTranslationListener.onFadeInZoomButtons(); }