Просмотр исходного кода

Fixed BottomTabs height being calculated twice (#1421)

Brendon Sled 7 лет назад
Родитель
Сommit
da9ed0c5fe

+ 1
- 1
android/app/src/main/java/com/reactnativenavigation/views/BottomTabs.java Просмотреть файл

@@ -109,7 +109,7 @@ public class BottomTabs extends AHBottomNavigation {
109 109
     private void createVisibilityAnimator() {
110 110
         visibilityAnimator = new VisibilityAnimator(BottomTabs.this,
111 111
                 VisibilityAnimator.HideDirection.Down,
112
-                (int) ViewUtils.convertDpToPixel(Constants.BOTTOM_TABS_HEIGHT));
112
+                Constants.BOTTOM_TABS_HEIGHT);
113 113
     }
114 114
 
115 115
     private void setStyle() {