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
     private void createVisibilityAnimator() {
109
     private void createVisibilityAnimator() {
110
         visibilityAnimator = new VisibilityAnimator(BottomTabs.this,
110
         visibilityAnimator = new VisibilityAnimator(BottomTabs.this,
111
                 VisibilityAnimator.HideDirection.Down,
111
                 VisibilityAnimator.HideDirection.Down,
112
-                (int) ViewUtils.convertDpToPixel(Constants.BOTTOM_TABS_HEIGHT));
112
+                Constants.BOTTOM_TABS_HEIGHT);
113
     }
113
     }
114
 
114
 
115
     private void setStyle() {
115
     private void setStyle() {