Browse Source

Fixed BottomTabs height being calculated twice (#1421)

Brendon Sled 7 years ago
parent
commit
da9ed0c5fe

+ 1
- 1
android/app/src/main/java/com/reactnativenavigation/views/BottomTabs.java View File

@@ -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() {