Bladeren bron

Fixed BottomTabs height being calculated twice (#1421)

Brendon Sled 7 jaren geleden
bovenliggende
commit
da9ed0c5fe
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      android/app/src/main/java/com/reactnativenavigation/views/BottomTabs.java

+ 1
- 1
android/app/src/main/java/com/reactnativenavigation/views/BottomTabs.java Bestand weergeven

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