瀏覽代碼

Fixed BottomTabs height being calculated twice (#1421)

Brendon Sled 7 年之前
父節點
當前提交
da9ed0c5fe
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 查看文件

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