Explorar el Código

fix failing test

Guy Carmeli hace 7 años
padre
commit
016c6be5df

+ 1
- 1
android/app/src/main/java/com/reactnativenavigation/layout/bottomtabs/BottomTabsContainer.java Ver fichero

@@ -19,7 +19,7 @@ public class BottomTabsContainer extends RelativeLayout implements BottomTabs.Bo
19 19
     }
20 20
 
21 21
     public void addTabContent(String label, View tabContent) {
22
-        if (tabsContent.size() > 5) {
22
+        if (tabsContent.size() == 5) {
23 23
             throw new TooManyTabsException();
24 24
         }
25 25
         bottomTabs.add(label);